Java Software Installation

Java Development kit (JDK) 1.8 which is freely available from “Sun Micro systems” (Orcale Java, n.d.) is needed for writing java programs. Before installing java, make sure to check if Java is already installed on the computer. There are many different ways to determine whether we have java or not. The easiest way to check for the Java presence is to go to “command prompt” window and type “java –version”, It will show the version java installed on the computer if java is already installed.

If Java is not already installed on your computer follow steps mentioned below to install it.

1.    Open browser (ex: chrome or internet explorer) and go to Java SE site (Orcale Java, n.d.).

            a.  It will take you to the development kit download page. This website is an Oracle product page which has different                      java versions supported on different operating systems available for download.

1

Figure 1 Orcale Home Page

   2.  Goto Java SE download site Java SE site.

    3.  Under “Java Platform, Standard Edition” => “Java SE 8u45”(Orcale Java, n.d.) => click JDK download.

2

Figure 2 JDK download

    4.  Select “Accept License Agreement button” to continue downloading the software. Then choose your operating platform, e.g. Windows x86 for 32-bit Windows OS or Windows x64 for 64-bit Windows OS.

        You can check whether your Windows OS is 32-bit or 64-bit on the Computer by navigating to “Control panel” =>                     System => under the “System Type”. Download appropriate binary file based on version of the operating system                        running on your computer.

             a.  Then Run the downloaded installer which installs both JDK and JRE. The installation process is self-explanatory.                      Keep all the defaults and continue installation by clicking “Next” button.

3

Figure 3 Custom Setup

   5.  The Run Installer gives different options to select from as shown in above screenshot. The left side of the figure shows              different options and their descriptions are shown on the right side.

  • In this case, select “Development Tools” to install JDK and JRE.
  • After selecting needed package, continue installation by clicking the button “Next”.
  • A popup window for selecting the destination folder will be displayed as shown below.

4

Figure 4 Destination Folder

  6.  By default the destination folder for the installation will be in “Program Files”. Different folder structure can be selected if one needs. Keep the default destination folder and continue installation by clicking “Next” button.

  •   A progress popup window showing the status of installation will be displayed.

5

Figure 5 Java Setup

   7.   It will take about five to ten minutes for the installation to complete.

  •  Once installation completes, a “complete popup window” will be displayed. It will show if the installation was successful     as shown below.

6

Figure 6 Installed Successfully

8.  After the installation is completed, PATH of the current java installation needs to be setup.

  Follow the steps listed below to set up path.

  1. Control panel => System => Advanced system settings
  2. Switch to “Advanced” tab => Environment variables
  3. In “System Variables”, scroll down to select “PATH” =>Edit

(Caution: Read this carefully before doing this step)

     4.  In “Variable Value” add “C:\Program Files\Java\jdk1.8.0_20\bin” (you need to give the specific location where you                     installed java) followed by semi-colon (;) DO NOT DELETE any existing entries or path.

7

Figure 7 Path Setup

Leave a comment