-
I am having problems on ubuntu with mill finding the java home.
mill seems to add "/bin/java" to my JAVA_HOME variable? If I make the JAVA_HOME path shorter accordingly, mill seems to find java and runs fine:
Does that make any sense? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As |
Beta Was this translation helpful? Give feedback.
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) abin/java
to access the Java executable. If your Java installation is rolled out into a LSB directory layout, usingJAVA_HOME=/usr
makes sense. But I can't tell you if there are any downsides.