Java error while attempting to run the installer for WebSphere Application Server products on Linux Platforms
 Technote (troubleshooting)
 
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:
  1. 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.

  2. If Java is in the system:
    1. 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.

    2. 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.
 
Related information
IBM Java on Linux
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server
Operating system(s): Linux
Software version: 5.1.1
Software edition:
Reference #: 1181386
IBM Group: Software Group
Modified date: Sep 1, 2007