JDK Installation

JDK Versions:

1.       JDK Alpha and Beta (1995)
2.       JDK 1.0 (January 23, 1996)
3.       JDK 1.1 (February 19, 1997)
4.       J2SE 1.2 (JDK 1.2) (December 8, 1998)
5.       J2SE 1.3 (JDK 1.3) (May 8, 2000)
6.       J2SE 1.4 (JDK 1.4) (February 6, 2002)
7.       J2SE 5.0 (JDK 1.5) (September 30, 2004)
8.       Java SE 6 (JDK 1.6) (December 11, 2006)
9.       Java SE 7 (JDK 1.7) (July 28, 2011)
10.   Java SE 8 (JDK 1.8) (March 18, 2014)
11.   Java SE 9 (JDK 1.9) (September 21, 2017)

JDK Installation in Windows:

Step1:

  • Go to Java SE download site http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  • Under Java SE downloads, download your preferred JDK versions. Mostly recommended latest version of JDK.
  • Look for the latest "Java SE Development Kit “, Check "Accept License Agreement".
  • Choose the JDK for your operating system,
  • e.g., "Windows x64" (for 64-bit Windows OS) or "Windows x86" (for 32-bit Windows OS).
  • Now Install JDK and JRE.
  • After Installation process check JDK and JRE downloaded successfully or not. (Go to “C:\Program Files\Java”).

Step2: 

  • Open the Control Panel -> System or Security –> System; the same thing can be done by right-clicking on My Computer and choosing Properties
  • Choose Advanced System Settings option
  • Choose the Environment Variables option
  •  In the System variables section it is selected New
  • Set the variable name, JAVA_HOME and its value C:\Program Files\Java\jdk1.8.0 
  • Insert a new system variable name, CLASSPATH and its value %JAVA_HOME%\jre\lib
  • For PATH, if it already exists, select it and choose the Edit option; in the editor add the value;%JAVA_HOME%\bin (the new values are separated by a semicolon from the existing ones)
  • Testing the system variables is done by opening a new command prompt window (Start -> cmd) and trying to launch the compiler with the command: javac






Copyright © 2017 qatoolsguide.blogspot.com || ALL RIGHTS RESERVED