Install Java on windows 10

     

1. Visit oracle website to download Java : https://www.oracle.com/java/technologies/downloads/


2. Click on 'OpenJDK Early Access Build' it will open new link http://jdk.java.net/


3. Choose Java version you want to install. It will open new page which allow you to download java for your operating system.

        e.g. Windows - Java 8 it will download openjdk-8u41-b04-windows-i586-14_jan_2020.zip]


4. create java folder in C:\Program Files\ and extract downloaded zip into java folder.

5. Copy path C:\Program Files\java\openjdk-8u41-b04-windows-i586-14_jan_2020\java-se-8u41-ri

6. Go to Edit the system environment variable and click on 'Environment Variable'.

7.Create New 'System Variable' and 

 
  Give variable name JAVA_HOME and Variable value : paste copied path click 'OK'

8.Now Select 'path' variable and click on edit 

9. Add your variable as '%JAVA_HOME%\bin'   and click on ok.


10. Apply changes and close window. You can confirm with command prompt. Open command prompt and type                 'java -version'. It will show Java version .





 














Comments

Post a Comment