About 50 results
Open links in new tab
  1. How to set the environment variables for Java in Windows

    Step 5: Enter the Variable name as JAVA_HOME and the value to your jdk bin path ie c:\Programfiles\Java\jdk-1.6\bin and NOTE Make sure u start with .; in the Value so that it doesn't …

  2. java - How do I find where JDK is installed on my windows machine ...

    Jan 13, 2011 · 426 I need to know where JDK is located on my machine. On running Java -version in cmd, it shows the version as '1.6.xx'. To find the location of this SDK on my machine I tried using …

  3. How do I find where Java is installed on Windows 10?

    Nov 16, 2021 · 6 I recently installed Java (Java Runtime 1.8.121) to my machine. I need to set up JAVA_HOME and set the variable from the Java folder where it installed. Everywhere I have looked …

  4. path - Setting up enviroment variables in Windows 10 to use java and ...

    Jun 1, 2023 · Variable Name : PATH Variable Value : C:\Program Files\Java\jdk1.8.0_31\bin But the best practice is to set JAVA_HOME and PATH as follow.

  5. How to set the java path and classpath in windows-64bit

    Sep 17, 2011 · 1) PATH: You need to set PATH to compile Java source code, create JAVA CLASS FILES and Operating System to load classes at runtime. 2) CLASSPATH: This is used by JVM and …

  6. java - How to find the JRE path on Windows using command line

    Mar 6, 2019 · JAVA_HOME is not set by default in Windows Java. Instead, it lists itself in the registry. The value CurrentVersion in HKLM\SOFTWARE\JavaSoft\Java Runtime Environment indicates the …

  7. How to best set the path to java in windows - Stack Overflow

    Apr 27, 2018 · C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe C:\ProgramData\Oracle\Java\javapath\java.exe C:\Program Files\Java\jdk1.6.0_21\bin\java.exe And …

  8. How to set JAVA_HOME in Linux for all users - Stack Overflow

    2) JAVA_HOME variable is short and concise instead of full path to JDK installation directory. 3) JAVA_HOME variable is platform independence i.e. if your startup script uses JAVA_HOME then it …

  9. how to change default java path - Stack Overflow

    Dec 17, 2013 · how to change default java path Asked 12 years, 1 month ago Modified 12 years, 1 month ago Viewed 6k times

  10. Java: Path vs File - Stack Overflow

    Nov 19, 2019 · For new projects, use Path. And if you ever need a File object for legacy, just call Path#toFile () Migrating from File to Path This Oracle page highlights differences, and maps …