Skip to content

mill and JAVA_HOME under ubuntu #1818

Answered by lefou
nemoo asked this question in Q&A
Discussion options

You must be logged in to vote

As JAVA_HOME is just a convention but not a standard, most (if not all) tools that support this variable expect a JDK/JRE directory layout. That's why we add (as you already found out) a bin/java to access the Java executable. If your Java installation is rolled out into a LSB directory layout, using JAVA_HOME=/usr makes sense. But I can't tell you if there are any downsides.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nemoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants