Installing JDK on Windows
1. Download Java Developemnet Kit (JDK)
You can download latest version of JDK from
You can download latest version of JDK from
- http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Installing JDK
2.1 Double click the downloaded JDK exe file. Click the “Next” button.
2.2 The “Custom Setup” window allows you to select which parts of the JDK you want to install. If you want to change the installation directory click on change and specify the location where jdk will be installed. It is recommended to stick with the default settings. Click the “Next” button.
2.3 JDK “installing” window appears. It will take a few minutes to install the program features of the JDK.
2.4 By installing JDK, JRE will also be installed. Select Java Runtime Environment (JRE) installation location.
2.5 When the “Complete” screen appears, click on the “Finish” button. Now you have successfully installed the Java Development Kit!
- Configuring Installed JDK on windows
The installed JDK must be configured to the windows environment so that the Java compiler (javac) and runtime (java) becomes available for compiling and running the Java application from any location on Windows.NOTE: If JDK is not configured on windows environment then to compile and run your Java applications you must place them in <JAVA_HOME>/bin/ folder.For Windows Vista/7:3.1 Click on Start -> Right click Computer -> Select Properties
3.2 Click on “Advanced system settings” from left side Tasks menu.
3.3 Click on “Advanced” tab and click on “Environment Variables…”.
Select Path variable from “System variables” and click on “Edit…” and go to the end of the “Variable Value” and place a semi-colon (;) and add “<Your JDK installation folder>\bin” path as shown below.
3.4 Click OK -> OK -> OK. Now you have successfully configured JDK and ready to develop applications in Java.
.3.5 Now open Command prompt and type “javac -version” and it should show the version number which you installed.
javac is the primary Java compiler, included in the Java Development Kit (JDK). Also type “java -version” which is Java runtime included in JDK. Sometimes you may want to restart the computer for the PATH settings to take effect. Done! If you haven’t encountered any problems, then the installation and configuration is complete.
- http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Installing JDK
2.1 Double click the downloaded JDK exe file. Click the “Next” button.
2.2 The “Custom Setup” window allows you to select which parts of the JDK you want to install. If you want to change the installation directory click on change and specify the location where jdk will be installed. It is recommended to stick with the default settings. Click the “Next” button.
2.3 JDK “installing” window appears. It will take a few minutes to install the program features of the JDK.
2.4 By installing JDK, JRE will also be installed. Select Java Runtime Environment (JRE) installation location.
2.5 When the “Complete” screen appears, click on the “Finish” button. Now you have successfully installed the Java Development Kit!
- Configuring Installed JDK on windows
The installed JDK must be configured to the windows environment so that the Java compiler (javac) and runtime (java) becomes available for compiling and running the Java application from any location on Windows.NOTE: If JDK is not configured on windows environment then to compile and run your Java applications you must place them in <JAVA_HOME>/bin/ folder.For Windows Vista/7:3.1 Click on Start -> Right click Computer -> Select Properties
3.2 Click on “Advanced system settings” from left side Tasks menu.
3.3 Click on “Advanced” tab and click on “Environment Variables…”.
Select Path variable from “System variables” and click on “Edit…” and go to the end of the “Variable Value” and place a semi-colon (;) and add “<Your JDK installation folder>\bin” path as shown below.
3.4 Click OK -> OK -> OK. Now you have successfully configured JDK and ready to develop applications in Java.
.3.5 Now open Command prompt and type “javac -version” and it should show the version number which you installed.
javac is the primary Java compiler, included in the Java Development Kit (JDK).Also type “java -version” which is Java runtime included in JDK. Sometimes you may want to restart the computer for the PATH settings to take effect.Done! If you haven’t encountered any problems, then the installation and configuration is complete.
Thanks a lot
ReplyDelete