|
Problem(Abstract) |
IBM WebSphere Application Server installer fails to run
with the following error:
JVMDG080: Cannot find class com/ibm/jvm/Trace |
|
|
|
Cause |
Using Java™ that is not provided with WebSphere
Application Server. |
|
|
Resolving the
problem |
The recommended way to resolve this problem is to do the
following:
- Prior to running the installer, type: which java at a command
prompt to determine:
- If Java is installed
- If Java is available in the current PATH
- If this command returns something like:
# which java
/usr/bin/which: no java in
(/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:
/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin)
In this case, no Java is available in any of the directories specified in
the PATH environment variable.
- If the following is displayed, Java already exists:
# which java
/opt/jdkbase/bin/java
This shows which Java will be invoked by default when the java command is
executed.
- If Java is in the system:
- Remove the directory where Java is installed from the PATH environment
variable:
- To do this, display the current value of the PATH
environment variable:
# echo $PATH
...:/opt/jdkbase/bin:...
Modify the PATH environment variable and remove the referenced directory.
- Repeat these steps until the results of the which
java command indicate that no directory containing a Java executable
is present in the PATH environment variable.
- Make sure that the JAVA_HOME environment variable does not exist. To
do this, display the current value of the JAVA_HOME environment variable:
# echo $PATH
/opt/jdkbase
If a value exists, undefine the environment variable using the
appropriate shell specific command, such as the KSH command:
# unset JAVA_HOME
Now when you perform the WebSphere Application Server installation, it
will locate and use the Java that is provided with WebSphere Application
Server. |
|
|
|