Installation NotesJava 2 SDK, Standard Edition
|
![]() |
The Java 2 SDK, Standard Edition, is intended for use on Microsoft Windows XP 64-bit edition running on Intel Itanium processors.
You should have 110 megabytes of free disk space before attempting to install the Java 2 SDK software.
To extract the Java 2 SDK using WinZip, double-click on the bundle's icon to launch WinZip and use the WinZip interface to install the Java 2 SDK in the location of your choice.
To extract the Java 2 SDK using the tar.exe utility, first move file j2sdk-1_4_1-windows-ia64.tar to the location at which you want to install the Java 2 SDK. Then, from the command prompt, run this command:
This will extract the Java 2 SDK into the current directory.tar.exe xvf j2sdk-1_4_1-windows-ia64.tar
Installed Directory Tree
The Java 2 SDK has the directory structure shown below.
j2sdk1.4.1
____________________|___________________
| | | | | | | | |
| | | | bin lib | demo |
| | | LICENSE | | | jre
| | COPYRIGHT | __|__
| README include | |
README.html bin lib
|
Should I set the PATH variable?
Set the PATH variable if you want to be
able to conveniently run the Java 2 SDK executables
from any directory
without having to type the full path of the command.
If you don't set the PATH variable, you need to specify the
full path to the executable every time you run it, such as:
C:> \j2sdk1.4.1\bin\javac MyClass.java
It's useful to set the PATH permanently so it will persist
after rebooting.
How do I set the PATH permanently?
To set the PATH permanently, add the full path of the
j2sdk1.4.1\bin directory to the PATH variable.
Typically this full path looks something like
C:\j2sdk1.4.1\bin.
To set the PATH permanently
From the start menu, open the Control Panel, and from there, double
click the System icon to open the System Control panel. If the System
icon is not visible, first click on the "Switch
to Classic View" button.
In the System control panel, select the Advanced tab, and then click the "Environment Variables" button. This will bring up a window in which you can edit system variables, including the PATH variable. After you've added the location of the SDK to your PATH, save the changes and reboot your machine when prompted. In order to be recognized on some systems, the addition may need to be added at the beginning of the variable list.
If you see an error message like this:
C:\j2sdk1.4.1\bin\java.exe is not a valid Win32 application.when trying to use the Java 2 SDK, it means that you have installed the 64-bit Java 2 SDK on a 32-bit machine. You should be using the 32-bit version of the Java 2 SDK instead, which is available for download.