Installing the J2SE SDK

Sun delivers J2SE in the form of a Software Development Kit (SDK) and an associated Java Runtime Environment (JRE). Follow these steps to complete the download and installation of J2SE.

 

Note: Because providers such as Sun provide stability updates often, you can usually use the latest stability level; however, feature updates may not support the various plug-ins recommended in this document.

Download

1. Using Internet Explorer, go to http://java.sun.com.

 

2. Locate the right-hand bar titled Popular Downloads.

 

3. Click J2SE 1.4.2 SDK.

 

4. Locate the current stability version of J2SE 1.4.2 SDK.

 

5. Click Download J2SE SDK.

 

6. Read and accept the license agreement, and then click Continue.

 

7. Locate the platform for Windows, and then click the Windows Offline Installation option.

 

This downloads an installation file. Place it in the folder created earlier: C:\Eclipse2200Temp.

 

8. When the download is complete, check to see that you have one file in the temporary folder, C:\Eclipse2200Temp, named j2sdk-1_4_2_xx-windows-i586-p.exe, where xx is a number indicating the stability level.

Install

1. From Windows Explorer, double-click the downloaded file to launch the InstallShield Wizard.

 

2. Read and accept the license agreement, and then click Next. Check in the displayed screen to be sure Install to: indicates C:\j2sdk1.4.2_xx\, where xx indicates the stability level you downloaded.

 

3. To accept all the components, click Next.

 

4. Select the Internet browser or browsers you prefer and click Install. The InstallShield wizard completes the installation.

 

5. When the wizard is done, click Finish.

 

6. To test, open a Command Prompt window and enter

 

        java  -version

 

A screen similar to the following should be displayed:

 

Troubleshooting

If you have any difficulties, see the Windows Installation (IFTW) and Java Update FAQ at:

 

  http://java.sun.com/j2se/1.4.2/docs/guide/deployment/installation/windows/iftw-update/faq.html