Home » Posts tagged 'code2test'
Tag Archives: code2test
How to Download & Install Java JDK 8 in window
In this tutorial we will learn how to Download & Install Java JDK 8 in window?
Step 1: Download java and setup java
- To install java open the URL->http://www.oracle.com/technetwork/java/javase/downloads/index.html
![How to Download & Install Java JDK 8 in window](https://code2test.com/wp-content/uploads/2020/01/Java_Install.png)
- Now Accept the Licence Agreement, always remember to choose correct JDK as per OS (Window, Mac, Linux)
![How to Download & Install Java JDK 8 in window](https://code2test.com/wp-content/uploads/2020/01/Java_JDK.png)
- On click to JDK .exe file,It will start downloading at the bottom(refer screenshot) below
![Install java jdk 8](https://code2test.com/wp-content/uploads/2020/01/JDK_exe_PAth_1.jpg)
- Now double click to jdk .exe file . The installation will start and click to next button
![install java jdk](https://code2test.com/wp-content/uploads/2020/01/JDK_Installer.png)
- Installation will start with status of download
![setup java jdk kit in window](https://code2test.com/wp-content/uploads/2020/01/JDK_Installer_Status.jpg)
- Once the installation is completed. A last window of installer will open click to Close.
![How to Download & Install Java JDK 8 in window](https://code2test.com/wp-content/uploads/2020/01/Close.jpg)
- Now the next step is to install Java path on environment variable
Step->Right click to My computer-> properties->Select Advanced system settings->Click to Environment Variables at the bottom
![setup environmental variable for java jdk in window](https://code2test.com/wp-content/uploads/2020/01/EnvironmentVariables.png)
- Under Environment Variable window->Under System variable->Select Path from Grid and click to Edit button(Refer Screenshot)
![setup environmental variable for java jdk in window](https://code2test.com/wp-content/uploads/2020/01/EnvironmentVariables_1.png)
- Under Edit Environement window, Click to new button and add the java path till bin. Suppose you have Installed JDK in path->c:\Program Files\java\jdk1.8.0_77\bin
So in this case provide the jdk path till bin folder and click to OK button(Refer screenshot)
![setup JDK path in environmental variable](https://code2test.com/wp-content/uploads/2020/01/EnvironmentVariables_3.png)
- Now Verify Java Installation
Open Command Prompt and enter java -version and click Enter(Refer Screen shot)
![check jdk version from command prompt](https://code2test.com/wp-content/uploads/2020/01/verify_Java.png)
So following the below steps we have learned how to Download & Install Java JDK 8 in window.