About 16,200,000 results
Open links in new tab
  1. Setting JAVA_HOME environment variable in MS Windows

    JAVA_HOME and PATH are different, I didn't say point JAVA_HOME to the jre/bin directory. Try making sure that the PATH environment variable includes the jre/bin directory. For example, type java from …

  2. How to set the environment variables for Java in Windows

    Step 3: Click on Environment Variables Step 4: Create a new class path for JAVA_HOME Step 5: Enter the Variable name as JAVA_HOME and the value to your jdk bin path ie c:\Programfiles\Java\jdk …

  3. java - what is the reason for the existence of the JAVA_HOME ...

    Feb 24, 2011 · Many java based application requires to set JAVA_HOME env variable. What's the purpose of this variable?

  4. java - What is the correct target for the JAVA_HOME environment ...

    Mar 20, 2009 · In Windows, JAVA_HOME must point to the JDK installation folder (so that JAVA_HOME/bin contains all executables and JAVA_HOME/libs contains all default jar libraries). If I …

  5. java - What is JAVA_HOME? How does the JVM find the javac path …

    Jan 8, 2010 · JAVA_HOME is an Environment Variable set to the location of the Java directory on your computer. PATH is an internal DOS command that finds the /bin directory of the version of Java that …

  6. Making sure JAVA_HOME is correctly set - Stack Overflow

    Jul 7, 2012 · JAVA_HOME isn't set by default on OSX. You can resolve this by opening terminal and executing the following:

  7. echo %JAVA_HOME% returns %JAVA_HOME% - Stack Overflow

    Jul 9, 2018 · When I do echo %JAVA_HOME% it returns %JAVA_HOME% on windows 10 what did I do wrong?

  8. JAVA_HOME should point to a JDK not a JRE - Stack Overflow

    Add JAVA_HOME = C:\Program Files\Java\jdk(version) in User variable, it works for me. For me, it doesn't work with bin and even if I create JAVA_HOME in system variable

  9. Setting JAVA_HOME in Windows? - Stack Overflow

    Aug 12, 2014 · Where should JAVA_HOME be pointing to - JDK or JRE? I have seen that in few websites. It is set to JRE and in others it is to JDK. And is it dependant on Java version in any way?

  10. Should JAVA_HOME point to JDK or JRE? - Stack Overflow

    Feb 4, 2019 · 3 as a developer, you should point your JAVA_HOME at jdk to access javac copiler etc. It's good if you can test your program to run on the JRE though. If you are using an app server you …