Responsive Ads Here

How to download java 8 in Windows 10 (64 Bit)


(Click on the image to see image in full size)
The Java Development Kit(JDK) is used to code and run the java programs. You can install multiple versions of JDK on the same computer. Below are the steps to download and install JDK 8.

Step 1: Click on this link to go to the Oracle JDK downloading page.

Step 2: Follow below steps:
1. Click on the Accept License Agreement button.
2. Click on the jdk-8u231-windows-x64.exe



This will take you to the Oracle sign in page. If you already have an oracle account then enter your username & password and click Sign in . The username is your email address. 



In case if you do not have an oracle account then create a new oracle account because now it is mandatory to have an oracle account to download any JDK version.
To know how to create a new oracle account click here.

After clicking the Sign in button the downloading will start automatically.

Step 3: Once the downloading is complete, run the .exe file of the JDK by double clicking on the file. Click next.




Step 4:
1. You can change the installation folder by clicking the change button.
2. Click on the next button.



Step 5: After completion of installation click on the close button.



The JDK has installed successfully. Now we will have to add the path of the jdk to the environment variable to use and access JDK from anywhere in the computer.

How to set the Environment Variable in windows.



In windows, if you try to run or compile the java program through command prompt then you will have to specify the full path of the executable file everytime like


C:\Program Files\Java\jdk1.8.0_191\bin\javac Hello.java
but if you set the path variable then you can compile or run the program without giving the path like
C:\Users>javac Hello.java

Below are the steps to set the path of the jdk and jre in the environment variables.

Step 1: Right click  on This PC and click on the properties.





Step 2: Click on Advanced System Settings on the top left corner.




Step 3: On the pop-up click on Environment Veriables.




Step 4: In the user variables click on the Path then click on the Edit button.





Step 5: Copy the path of the bin folder which is installed in the JDK folder.





Step 6: Click on New and paste the path of the bin folder. Click Ok.




Step 7: Click Ok to close the pop-up window.




Step 8: Now open the Command Prompt and type javac. Press Enter.


If you see screen like given below it means java has successfully installed in your system and the environment variable also has set.



No comments:

Post a Comment