HubsInfo Network

How to set JAVA_HOME system variable for Windows 7

0 Members and 1 Guest are viewing this topic.

How to set JAVA_HOME system variable for Windows 7
« on: November 05, 2016, 12:02:06 PM »
For Windows 7:
[LIST=1]
  • Right click on My Computer
  • Select Properties
  • Select Advanced System Settings
  • Select Advanced tab
  • Select Environment Variables
  • Select Path under System Variables
  • Click on Edit button
  • In Variable value editor paste this at the start of the line



C:\Program Files\Java\jdk1.7.0_72\bin;
  • Click Ok then Ok again
  • Restart command prompt otherwise it won't see the change to the path variable
  • Type java -version in command prompt.