Google Search

Tuesday, May 6, 2014

Set Java Path on Windows 7

Set Java Path on Windows 7

First Install Java on your machine

Go to Computer -> Right Click on Computer -> Click on Properties -> Click on Advanced System Settings -> Advanced tab -> Environment variables

Click On Environment Variables

Under System variables, Click on New and Enter JAVA_HOME as shown below

Click on OK;

Edit PATH under System Variables


Once added to PATH variable then Click on OK and Click Apply to save the changes

Check version of Java installed on you machine by using javac -version command as shown below


Thus, you successfully installed Java on your machine.





No comments:

Post a Comment