Setting Java Jdk Path In Windows System

Vipin | Sun, 23 Aug, 2020 | 100

Set JAVA_HOME Windows 10. Type "Environment Variables" in the search box (beside the Windows start button), clicks "Edit the system environment variables".

 

search Environment Variables



Clicks Environment Variables under Advance tab
 

Environment Variables



In System variables, add a new JAVA_HOME variable and point it to the JDK installed folder.
 

set Java path in Windows 10

In System variables, find PATH, clicks Edit... and append this %JAVA_HOME%\bin to the start. Then Click OK.

set Java path in Windows 10

Open a command prompt
 

Open a command prompt

Type "java -version" and "javac -version"
 

java -version

javac -version

 

Now you are all set for wrting your first program.....smiley

0 comments
Leave a comment