

Locales, Localization Methods and Resource BundlesĬalling and Importing Classes Defined in Unnamed Packages Number Object and Numeric String Conversion ► Downloading and Installing JDK 1.6.2 on Windowsĭate and Time Object and String Conversion HelloĬongratulations, you have successfully entered, compiled and executed yourĭownloading and Installing JDK 1.8.0 on Windowsĭownloading and Installing JDK 1.7.0 on Windows To execute the program, use the java command: Then compile this program in a command window with the javac command: Use Notepad to enter the following Java program into a file called Hello.java:Ģ. Once JDK is installed, you can try to use it to compile and execute a simple Java program:ġ.

Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, Java(TM) SE Runtime Environment (build 1.6.0_02-b06) If you are getting the following output, your installation was ok:Ĭ:\>\progra~1\java\jdk1.6.0_02\bin\java -version To test the installation, open a command window to try the java command. The installation wizard will guide you to finish the installation.Double-click on jdk-6u2-windows-i586-p.exe to start the installation wizard.Save jdk-6u2-windows-i586-p.exe to a temporary directory.Which links to jdk-6u2-windows-i586-p.exe with size of 65.57 MB. Click the hyper link of "Windows Offline Installation (build 06), Multi-language",.

Locate the "Windows Platform - Java(TM) SE Development Kit 6 Update 2" section.You will see a new page with a list of different download files of JDK 6u2. Click the download button next to "JDK 6u2".Open the Java SE Download page with this URL.

A simple Java program was entered, compiled, and executed with the new JDK installation.ĭownloading and installing JDK 1.6.2 (Java SE 1.6 Update 2) on a Windows system is easy. This section provides a tutorial example on how to download and install JDK 1.6.2 (Java SE 1.6 Update 2) on a Windows XP system.
