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 ...
My JAVA_HOME is set perfectly ( i checked java.exe set on C:\Program Files\Java\jdk1.6.0_03\bin) JAI and JMF all working ... javac and rest of the commands also work so i guess i good with it. i tried ...
When JAVA_HOME is not set (but java command is in the PATH) then bin/mvn script prints warning message "Warning: JAVA_HOME environment variable is not set." I don't want to explicitly set JAVA_HOME ...
For Java-based programs such as Maven, Jenkins, Gradle or Tomcat to run, they need to know that Java's JDK is installed. That's the purpose of the JAVA_HOME environment variable. It tells programs ...