JavaTM 2 SDK, Enterprise Edition
1.3.1 Release

Installation Instructions

Document Revised: 17 January 2002

Before you can install the software onto your system, you must download the appropriate bundle from our web site. For instructions on downloading bundles, see the http://java.sun.com/j2ee/sdk_1.3/index.html. While installing the JavaTM 2 SDK Enterprise Edition (J2EETM SDK) you should shut down all other applications running on your machine, including anti-virus software. Proceed by following the installation instructions for your platform:

After you've performed the installation, please read the section "Where do I go from here?"

Note: The J2EE SDK does NOT support Windows 95,Windows 98, or Windows ME. Please see the "Supported Platforms" and "Required Software" sections of the Release Notes. The J2EE SDK FAQ contains information about running the J2EE SDK on unsupported operating systems.


Installing the Solaris Bundle

1. Change to the directory where you want to install the software.

For example, if you want to install the software under /usr/local you would type this command:
cd /usr/local
Unpacking the bundle automatically creates a subdirectory in this directory called j2sdkee1.3.1. If you have installed a previous version of the J2EE SDK product, you must delete or un-install the previous version from your computer before proceeding with the new version.
2. Unpack the download bundle.
The download bundle for the software is in the j2sdkee-1_3_1-solsparc.sh file. In the following commands, replace <path> with the actual path of the download bundle:
chmod a+x <path>/j2sdkee-1_3_1-solsparc.sh
<path>/j2sdkee-1_3_1-solsparc.sh
After you agree to the license, the j2sdkee1.3.1 directory is created and the software is installed into it.
3. Set the environment variables.
Before running the J2EE SDK, you must set these environment variables: If you need help setting these variables, see Setting Environment Variables. You need to logout and login again for these changes to take effect.
4. See "Where do I go from here?"


Installing the Windows Bundle

1. If you have installed a previous version of the J2EE SDK product, you must delete or un-install the previous version from your computer before proceeding with the new version. When you are ready, run the setup program.

Double-click on the icon of the j2sdkee-1_3_1-win.exe file, and follow the instructions provided by the setup program. By default, the setup program installs the software in C:\j2sdkee1.3.1.
2. Set the environment variables.
Before running the J2EE SDK, you must set these environment variables: If you need help with setting these variables, see Setting Environment Variables.
3. See "Where do I go from here?"


Installing the Linux Bundle

1. Change to the directory where you want to install the software.

For example, if you want to install the software under /usr/local you would type this command:

cd /usr/local
Unpacking the bundle automatically creates a subdirectory in this directory called j2sdkee1.3.1.
2. If you have installed a previous version of the J2EE SDK product, you must delete or un-install the previous version from your computer before proceeding with the new version. When you are ready, proceed with unpacking the download bundle:
The download bundle for the software is in the j2sdkee-1_3_1-linux.tar.gz file. To uncompress and unpack the download bundle and run this command:
tar xvzf j2sdkee-1_3_1-linux.tar.gz
The j2sdkee1.3.1 directory is created and the software is installed into it.
3. Set the environment variables.
Before running the J2EE SDK, you must set these environment variables: If you need help setting these variables, see Setting Environment Variables. You need to logout and login again for these changes to take effect.
4. See "Where do I go from here?"


Setting Environment Variables

This section shows how to set environment variables on different operating systems and shells. Each example sets the variable MYVAR to the value widget. The term "local" means that the setting is in effect only for that terminal window. "Global" means that the variable is set for all terminal windows that are subsequently launched.

Unix Bourne and Korn Shells (sh, ksh)

Local:

$ MYVAR=widget
$ export MYVAR

Global:

Edit the $HOME/.profile script so that it includes the preceding assignment and export commands. You need to logout and login again for these changes to take effect.

Unix C-Shell (csh)
Local:

$ setenv MYVAR widget

Global:

Edit the $HOME/.login file so that it includes the preceding setenv command. You need to logout and login again for these changes to take effect.

Windows 2000 Professional
Local:

C:\> SET MYVAR=widget

Global:

Use the System Variables dialog. To reach this dialog, right-click the My Computer icon, select the Properties menu item, and select the Advanced tab. Then click the Environment Variable button. Click the New button, enter the variable name and its value in the New User Variable dialog, and click the OK button

Windows NT 4.0
Local:

C:\> SET MYVAR=widget

Global:

Use the System Variables dialog. To reach this dialog, right-click the My Computer icon, select the Properties menu item, and select the Environment tab. Enter the variable name and its value, and click the Set button.


Where do I go from here?

After you've installed the bundle, you can find out more about the J2EE SDK from the following documentation:

Comments? Please send us feedback at j2ee-ri-feedback@sun.com.