The findJava Utility Cannot Find Java Runtime Environment during Installation
  1. guides
  2. en
  3. Knowledge base
  4. Knowledge Base Solution
  5. Troubleshooting
  6. The findJava Utility Cannot Find Java Runtime Environment during Installation

The findJava Utility Cannot Find Java Runtime Environment during Installation

  1. First, make sure you have a Java Runtime Environment (JRE) installed on your server. MVP requires at least version 1.3.1.
  2. If you don't have a JRE installed on your Linux server, refer to for instructions.
  3. Once you have verified that you have an up-to-date JRE installed, check its location. By default the package downloaded from the Sun Microsystems web site installs itself in
    /usr/java/javaX.Y.Z
    , where
    X
    ,
    Y
    and
    Z
    are version numbers. However, Lexmark's findJava utility searches the JRE in the
    / usr/java
    directory, one step above the default location.
  4. To resolve the location issue, edit the findJava script located in
    /usr/mvp/bin
    as follows:
  1. At the command prompt, type:
    vi /usr/mvp/bin/findJava
  2. Then go to line 76. You should find a variable declared here:
    STDLOC=/usr/java:/usr/local/java........
  3. Edit this line and modify it to insert the full path to your JRE installation:
    STDLOC=/usr/java/javaX.Y.Z:/usr/local/java.......
  4. Save your change and quit the findJava script.
  5. Relaunch the MVP configuration utility. This should resolve the JRE issue.
LEGACY ID:
SO2051