There’s nothing worse than installing your favorite Java-based application — such as Minecraft, Maven, Jenkins or Apache Pig — only to run into a JAVA_HOME is ...
“The JAVA_HOME environment variable is not defined correctly. This environment variable is needed to run this program. NB: JAVA_HOME should point to a JDK, not a JRE.” That contradiction—Java working, ...
I tried this on a java project. On. my shell i can call "/usr/libexec/java_home" without a problem. Exception occurred executing command line.\nCannot run program ...