How
to install the J2EE SDK1.3.1 on SOLARIS 8 x86? |
Abstract: |
At present there
are no J2EE versions provided for download on the JAVA
website of SUN Microsystems that can be installed on a
SOLARIS x86 Box out of the box. The J2EE has no specific
system code. It works on top of the J2SDK. This text describes
the installation and configuration of the J2EE SDK1.3.1
on a Solaris 8 x86 Box.
These instructions have been tested on SOLARIS 8 x86 02/02,
J2SDK1.4.2_03 and J2SDKEE1.3.1. |
|
Prerequisites: |
Properly installed J2SE SDK. |
|
Problem: |
|
On the JAVA website of SUN Microsystems
only J2EE versions for the SOLARIS SPARC OS version are
availble for download. For the J2EE SDK 1.3.1 you can
find this file:
j2sdkee_1_3_1_solsparc.sh |
|
Executing this file on a SOLARIS 8 x86 Box you get
the following error:
...
Extracting...
./install.sfx2732: syntax error at line 1_ '(' unexpected
Done.
|
|
The installation terminates! |
|
Installation J2EE SDK1.3.1: |
1. |
Download the executable SOLARIS file j2sdkee_1_3_1_solsparc.sh. |
2. |
Rename the file:
j2sdkee_1_3_1_solsparc.zip
|
3. |
Unzip the file to a directory of choice, e.g.:
/opt/j2sdkee131 |
4. |
Configure the userconfig.sh file in directory
/opt/j2sdkee131/bin.
Modify the path of the JAVA_HOME installation
directory of your J2SDK installation, e.g.:
JAVA_HOME=/usr/j2se
|
5. |
Add the /opt/j2sdkee131 directory to your PATH
variable, e.g.:
File: /.dtprofile
PATH="$PATH:/opt/j2sdkee131/bin" |
|
Start J2EE Server: |
1. |
Log off and log on again to
set the PATH variable. (The variable can be set manually
too.) |
2. |
Open a console. |
3. |
$ j2ee -verbose starts the server. |
4. |
Open a second console. |
5. |
$ deploytool starts the deploytool
and the started J2EE Server is available. |
6. |
Have fun! |
|
System: |
|
The installation succeeded on the following system:
|
1. |
SOLARIS 8 x86 02/02 |
2. |
Patch Cluster:
8_x86_recommended.zip
j2se_solaris_8_x86_recommended.zip |
3. |
J2SDK
j2sdk_1_4_2_03_solaris_i586.tar.Z
|
4. |
J2EE
j2sdkee_1_3_1_solsparc.sh |
|