How to set JAVA_HOME for Java in Windows?

Java Programming Java8Object Oriented ProgrammingJava Technologies

Assuming you have installed Java in c:\Program Files\java\jdk directory −

  • Right-click on 'My Computer' and select 'Properties'.

  • Click the 'Environment variables' button under the 'Advanced' tab.

Now, add the 'JAVA_HOME' variable and set the path to the c:\Program Files\java\jdk'.

raja
Published on 19-Jan-2018 12:38:21
Advertisements