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

Documentation for Ubuntu - Java Version and Environment Variable JAVA_HOME might be wrong #2656

Open
tapwag opened this issue Apr 1, 2023 · 1 comment

Comments

@tapwag
Copy link

tapwag commented Apr 1, 2023

Expected behavior

According to:
https://phoenicisorg.github.io/phoenicis/Developers/build/#ubuntu-18041810-and-linux-mint-19

 wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -O /tmp/openjdk-11+28_linux-x64_bin.tar.gz
 sudo tar xfvz /tmp/openjdk-11+28_linux-x64_bin.tar.gz --directory /usr/lib/jvm
 export JAVA_HOME="/usr/lib/jvm/jdk-11"

should work.

Actual behavior

Unfortunately my system gave me an error message when trying to run

mvn clean package

that JAVA_HOME hadn't been set correctly.

The actual export command of JAVA_HOME variable had to be set to
export JAVA_HOME="/usr/lib/jvm/jdk-11.0.1/"
which includes the 0.1 at the end.

With this the compile runs fine on my Slackware system.

Also bumping the Ubuntu version to 22.04 LTS might make sense. Is there a git-repository for the documentation where I could contribute?

@plata
Copy link
Collaborator

plata commented Apr 1, 2023

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