Download & Install JDK 7 on Windows, easy in 5 minutes

This post introduces how to Download & Install JDK 7 on Windows so you can develop and run Java code. Java is currently owned by the Oracle Corporation which acquired Sun Microsystems in 2010. Let’s start now.

Download & Install JDK 7 on Windows

JDK Download

Java Development Kit (JDK) package that comes with a Java compiler that we need to compile Java code. The JDK package also comes with a Java runtime environment (JRE) that is needed to run compiled Java code.

You may have a look at the Oracle Java download page for more information. Here, we give you the direct download link for the Java SE 7. Click the link jdk 1.7.0_80 installer for Windows 32 or 64 bit

Select the correct operating system under Java SE Development Kit 7u80. for your Windows

Download & Install JDK 7 on Windows

On the popup windows, you accept the License Agreement and click Download button then the download should start. If you have not login you are required to login with your Oracle account before starting download.  Once the download is complete, you download Java SE 7 successfully.

Download & Install JDK 7 on Windows

JDK Install

Now, to Install JDK 7 on Windows that you locate the jdk-7u80-windows-x64.exe file and double-click to run the installer.

Click Next and change the installation location if you want by clicking on the Change… button. In this example the install location was changed to ‘C:Javajdk1.7.0_80’.

 

Next, the installer will show the installation location of the public JRE. Actually you have JRE already on the folder ‘C:Javajdk1.7.0_80’. Just press Cancel and confirm by clicking Yes in the popup window.

Click Next button and then Close button to finish installing Java.

JDK Configuration

We need to setup a ‘JAVA_HOME’ environment variable and the ‘PATH’ environment variable. Open Environment Variables window to add environment variables for your account and following panel should appear.

Click on the New button and add ‘JAVA_HOME’ environment variable, this variable will point your Java installation folder above, like below

Normally, the “PATH” variable exists on your Windows, so click the Edit button. Then, add the JDK bin folder %JAVA_HOME%bin to the beginning of the Path value.

Then click OK button to close the environment variables panel.

Now, we can verify whether the above environment variables configuration works or not by running the below  command in command prompt

Congratulation, you have JDK 7 installed on your windows. You may want to know more about Java knowledge, please check out this tutorial Top 12 Java Basic Interview Questions and Answers

Happy learning.

Please share it if you found this useful
Hide Buttons