2017-05-17

java environment setup

download and install java ( Click to Download )

windows



admin user

  • Select Start, select Control Panel. double click System, and select the Advanced tab.
  • Or go to your computer in the address bar copy paste ( Control Panel\System and Security\System )
  • Click Environment Variables
  • In the Edit System Variable
  • new add variable name JAVA_HOME 
  •                variable value C:\Program Files\Java\jdk1.8.0_111
  • Edit PATH 
  • Add at the end of PATH variable ;  ';'  symbol
  • add %JAVA_HOME%\bin;
  • Ok


Non admin user
  • Select Start, select Control Panel. double click System, and select the Advanced tab.
  • Or go to your computer in the address bar copy paste ( Control Panel\System and Security\System )
  • Click Environment Variables
  • In the Edit User Variables
  • new add variable name JAVA_HOME 
  •                variable value C:\Program Files\Java\jdk1.8.0_111
  • Add variable name PATH 
  • add variable value %JAVA_HOME%\bin;
  • Ok

linux



admin user
Non admin user

mac



admin user
Non admin user

No comments:

Post a Comment