Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Jun 7, 2019 · 2 comments
Open

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

ghost opened this issue Jun 7, 2019 · 2 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jun 7, 2019

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
Copy link
Contributor

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.

@lapnapra lapnapra self-assigned this Jun 17, 2019
@yankcrime
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants