Java 2 SDK, Enterprise Edition
Version 1.2.1
Document Revised: 3/6/01
Note on beta 1.3: This page describes how to install version 1.2.1. In the beta 1.3 documentation bundle, a bad link in the index.html file points to this page.
Before you can install the software or documentation onto your system, you must download the appropriate bundle from our web site. For instructions on downloading bundles, see the Download Bundles page. After downloading a bundle, please follow the installation instructions for your platform:
Solaris Operating Environment
Windows
Linux
For example, if you want to install the software under /usr/local you would type this command:
cd /usr/local
In step 2, unpacking the bundle automatically creates a subdirectory called j2sdkee1.2.1.
The download bundle for the software is in the j2sdkee-1_2_1-solsparc.sh file. In the following commands, replace <path> with the actual path of the download bundle:
chmod a+x <path>/j2sdkee-1_2_1-solsparc.sh
<path>/j2sdkee-1_2_1-solsparc.sh
After you agree to the license, the j2sdkee1.2.1 directory is created and the software is installed into it.
The Java 2 SDK, Enterprise Edition relies on the environment variables that are set in the user configuration script. This script is in the userconfig.sh file of the bin directory of your installation.
The userconfig.sh file sets these environment variables:
Here's an example of how you might edit the userconfig.sh file:
J2EE_CLASSPATH=/opt/oracle/jdbc:/usr/local/db/driver.zip
export J2EE_CLASSPATH
JAVA_HOME=/usr/local/java/jdk1.2.2
export JAVA_HOME
If you haven't already done so, install the documentation bundle. See the next section for instructions.
For example, if you installed the software in /usr/local/j2sdkee1.2.1 you would type this command:
cd /usr/local
The download bundle for the documentation is in the j2sdkee-1_2_1-doc-solsparc.zip file. In the following command, replace <path> with the actual path of the download bundle:
unzip <path>/j2sdkee-1_2_1-doc-solsparc.zip
The j2sdkee1.2.1/doc directory is created and the documentation is installed into it.
Double-click on the icon of the j2sdkee-1_2_1-win.exe file, and then follow the instructions provided by the setup program. By default, the setup program installs the software in C:\j2sdkee1.2.1.
If you install the software after you install the documentation, you should install the software in the parent directory of the documentation.
The Java 2 SDK, Enterprise Edition relies on the environment variables that are set in the user configuration script. This script is in the userconfig.bat file of the bin directory of your installation.
The userconfig.bat file sets these environment variables:
Here's an example of how you might edit the userconfig.bat file:
set J2EE_CLASSPATH=C:\oracle\jdbc;C:\db\driver.zip
set JAVA_HOME=C:\jdk1.2.2
You can set the environment variables either by executing the bin\userconfig.bat script in your shell window or by using the Environment tab of the System Properties window. To access the System Properties window, from the Settings menu select Control Panel and from the panel select System.
If you haven't already done so, install the documentation bundle. See the next section for instructions.
Double-click on the icon of the j2sdkee-1_2_1-doc-win.exe file, and then follow the instructions provided by the setup program.
If you install the documentation after you install the software, the setup program chooses the proper directory in which to install the documentation.
For example, if you want to install the software under /usr/local you would type this command:
cd /usr/local
In step 2, unpacking the bundle automatically creates a subdirectory called j2sdkee1.2.1.
The download bundle for the software is in the j2sdkee-1_2_1-linux.tar.gz file. To uncompress and unpack the download bundle bundle, run this command:
tar xvzf j2sdkee-1_2_1-linux.tar.gz
After you agree to the license, the j2sdkee1.2.1 directory is created and the software is installed into it.
The Java 2 SDK, Enterprise Edition relies on the environment variables that are set in the user configuration script. This script is in the userconfig.sh file of the bin directory of your installation.
The userconfig.sh file sets these environment variables:
Here's an example of how you might edit the userconfig.sh file:
J2EE_CLASSPATH=/opt/oracle/jdbc:/usr/local/db/driver.zip
export J2EE_CLASSPATH
JAVA_HOME=/usr/local/java/jdk1.2.2
export JAVA_HOME
If you haven't already done so, install the documentation bundle. See the next section for instructions.
For example, if you installed the software in /usr/local/j2sdkee1.2.1 you would type this command:
cd /usr/local
The download bundle for the documentation is in the j2sdkee-1_2_1-doc-linux.tar.gz file. To uncompress and unpack the bundle, run this command:
tar xvzf j2sdkee-1_2_1-doc-linux.tar.gz
The j2sdkee1.2.1/doc directory is created and the documentation is installed into it.
After you've installed the documentation, you can use your browser to read the following HTML files.