Correcting the JVM-not-found error

Complete this task to correct the JVM-not-found error.

The JVM-not-found error occurs if the DS CLI installer cannot find the correct version of Java in the standard directories of your system. You must have Java 1.4.1 or higher on your system for the DS CLI application to work.
Notes:
  1. This error might also occur if you are installing the DS CLI on an AIX system. The LIBPATH environment variable can interfere with the installation of the DS CLI and results in the display of the JVM-not-found error. It is recommended that you disable the LIBPATH environment variable before you install the DS CLI. After the installation of the DS CLI, enable the LIBPATH environment variable so that it can be used with other applications.
  2. If you have already installed the DS StorageManager, you have installed Java 1.4.2 on your system. Because it was not installed in one of your standard directories, the DS CLI installer did not find it during its initial check.

If Java 1.4.1 is not found during the initial check, the following message is displayed:

A suitable JVM could not be found. Please
run the program again using the option -is:javahome <JAVA HOME DIR>

Perform either step 1 or step 2 of the following steps to correct the JVM not found error (see Step 4 for AIX):

  1. (Optional) Run the installer again, and provide the path to the JVM. The following examples represent directories where you can find the correct version of Java:
    For a Windows system, specify the following:
    setupwin32 -is:javahome 
    C:\Program Files\IBM\dsniserver\java\jre
    For a Linux system, specify the following:
    setuplinux.bin -is:javahome
     /opt/ibm-Java-whatever/java/bin
    Note: If you use this argument, the installer attempts to use whatever JVM that you specify, even if it is an unsupported version.

    Go directly to step 4 after this step completes.

  2. (Optional) Open the DS CLI installation CD and install the Java 1.4.2 version into one of your standard directories.
  3. Continue with the installation of the DS CLI application.
  4. (AIX) Run the following commands to sequentially disable the LIBPATH environment variable, install the DS CLI, and restore the LIBPATH environment variable:
    export LIBSAVE=$LIBPATH
    		unset LIBPATH
    		setupaix.bin -is:javahome /opt/ibm-Java-whatever/java/bin
    		export LIBPATH=$LIBSAVE
    		unset LIBSAVE
    Proceed to the next step after you disable the LIBPATH environment variable.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.