Installing Java

In this article we are learning How to install Java in our computer under various platforms.Java comes in two flavors i.e JDK (java development kit),JRE (Java run time environment).
Java Development Kit (JDK) is a software application which is used by the developers for creating and modifying Java Programs.If you are going to write and create Java Programs in your computer you compulsorily need JDK installed on your computer. Futher the procedure of installation is explained below.If you are installing JDK in your system , then no need to install JRE separately.JRE will be installed automatically with JDK only. Java Runtime Environent (JRE) is a platform for running already compiled Java Programs .It provides a JVM platform for your system. Java software for your system, or the JRE (Java Runtime Environment), is also known as the Java Runtime, Runtime Environment, Runtime, JRE, Java Virtual Machine, Virtual Machine, Java VM, JVM, VM, or Java download. Note : you can distribute JRE with your applications , but not JDK.

Steps involved in installing Java.






  • Download Java installer for your System
  • Install Java on your computer
  • Set environment variables for classpath

  • Downloading and Installing Java in your computer .

    For compiling and running a java program in your system you have to install java platform.Java Development Kit (JDK) is the basic set of tools required to compile and run java programs. Download the latest version from Download Site.

    Click on Download button under JDK


    Accept the license and click on the link opposite to your operating system.Here my operating system is windows 64 bit. so i clicked on jdk-7u9-windows-x64.exe.your download starts now as shown below.

    Install Java on your computer

    After Downloading completed , Double click on the downloaded exe file.Now Installation wizard stars as shown below. Follow the wizard







    Set Environment variables

    Now your computer is installed with Java.All you have to do is registering java with computer. To make available Java Compiler and Runtime Environment for compiling and running java programs , we set the system environment variables. We can set the environment variables as follows. Right Click on My computer and click on properties.
    Click on Advanced Systems settings.
    Click on Environment variables.
    Click on New and Enter variable_name JAVA_HOME and variable value C:\Program Files\Java\jdk1.7.0_09\bin (this is different for your system).
    Click on OK. In the same way add PATH and CLASSPATH in the same way for values
    Now your installation is completed and your system is ready to use java.If you want to check your installation, you can type the following at command prompt. java -version This will return your version of Java.If output is giving the version your java is configured and you can start writing programs using java. Happy Programming Can the ignorant stranger qualify the crown?