woahbase / alpine-libreoffice

MultiArch Alpine Linux + S6 + GNU LibC + OpenJDK8 + Libreoffice
https://woahbase.online/#/images/alpine-libreoffice
MIT License
15 stars 3 forks source link

javaldx: Could not find a Java Runtime Environment! #1

Open ghost opened 5 years ago

ghost commented 5 years ago

I am getting the following error: javaldx: Could not find a Java Runtime Environment! root@master alpine-libreoffice]

docker run --rm -it \

--name docker_libreoffice --hostname libreoffice \ -e PGID=1000 -e PUID=1000 \ -c 512 -m 2096m \ -e DISPLAY=unix:0 \ -v /usr/share/fonts:/usr/share/fonts:ro \ -v data:/home/alpine \ -v /tmp/.X11-unix:/tmp/.X11-unix \ woahbase/alpine-libreoffice:x86_64 \ --writer --nologo javaldx: Could not find a Java Runtime Environment! Warning: failed to read path from javaldx

lapnapra commented 5 years ago

Hi there,

Sorry for the late reply.

Is this problem still happening for you? I just pulled the latest image and the error does not seem to happen to me.

Looked around a bit, seems like it could be something like this or this because of the java runtime. It could be that they have fixed it in their package upstream.

Let me know if it still errors after pulling in the latest image.

yankcrime commented 5 years ago

I've run into the same problem:

nick@zaphod:..rc/alpine-libreoffice> make run
docker run --rm -it --name docker_libreoffice --hostname libreoffice -e PGID=1000 -e PUID=1000 -c 512 -m 2096m -e DISPLAY=unix:0 -v /usr/share/fonts:/usr/share/fonts:ro  -v /home/nick/src/alpine-libreoffice/data:/home/alpine -v /tmp/.X11-unix:/tmp/.X11-unix   woahbase/alpine-libreoffice:x86_64
javaldx failed!
Warning: failed to read path from javaldx
LibreOffice 6.2 - Fatal Error: The application cannot be started. 
User installation could not be completed. 
make: *** [makefile:93: run] Error 77
zsh: exit 2     make run

It's the same error whether I pull from woahbase/alpine-libreoffice:x86_64 or build my own image locally.

FWIW this is: Docker version 19.03.2, build 6a30dfc running on Fedora 30.