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

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Object oriented programming concepts (OOPs)

Network Error and Timeout on Authorize.net JS