When installing Scan Engine 5.2.13 on Solaris it fails to detect the Java 1.6 family.

book

Article ID: 156701

calendar_today

Updated On:

Products

Scan Engine

Issue/Introduction

 

After installing the jre-6u25-solaris-sparc.sh from the /SAV_NAS/Tools/Java/Solaris directory from the downloaded Scan Engine software and then running the install script for Scan Engine during the install you're prompted with error.

Note: See Error section for exact wording of error.

 

 

ERROR: information for "SUNWj6rt" was not found
The required Java Runtime Environment could not be found
Please specify the base path to where Java is installed, 1.6 family

 

 

Cause

This issue can occur when the Base Sun Java 6 Solaris packages are missing.  See the Solution section for fixing the issue. 

 

 

Resolution

  • Download the latest JDK 1.6.0_xx from Oracle.
  • Install JDK
  • Download and Install the latest JRE 1.6.0_xx from Oracle.
  • Create symbolic link
  • Run the install script for Scan Engine.

Download the latest JDK 1.6.0_xx from Oracle.

  1. Download link:

    http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html

     
  2. Accept license agreement
  3. Download the two files listed below.

    jdk-6u33-solaris-sparc.tar.Z
    jdk-6u33-solaris-sparcv9.tar.Z


     

Install the JDK packages.

  1. Make a directory in the Solaris /tmp folder.

    mkdir /tmp/JDKSUN

     
  2. Upload the two files to the /tmp/JDKSUN folder.
  3. Extract the content of jdk-6u33-solaris-sparc.tar.Z

    cd /tmp/JDKSUN
    zcat jdk-6u33-solaris-sparc.tar.Z | tar -xf -

     
  4. Run the pkgadd command to install the packages.

    pkgadd -d . SUNWj6rt

    Note: Answers yes to all of the prompts.

     
  5. Extract the contents of the second compressed tar file.

    zcat jdk-6u33-solaris-sparcv9.tar.Z | tar -xf -

     
  6. Run the pkgadd command to install the packages.

    pkgadd -d . SUNWj6rtx

    Note: Answer yes to all of the prompts.

     

Download and Install the latest JRE 1.6.0_xx from Oracle.

  1. Download link:

    http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html

     
  2. Accept license agreement.
  3. Download the file listed below.

    jre-6u33-solaris.sparc.sh

     
  4. Make a directory and upload file to it.

    mkdir /usr/jre-6u33

    Upload the jre-6u33-solaris-sparc.sh file to /usr/jre-6u33

     
  5. Set the permission on the file.

    chmod 755 /usr/jre-6u33/jre-6u33-solaris-sparc.sh

     
  6. Run the install script.

    /usr/jre-6u33/jre-6u33-solaris-sparc.sh

     

Create Symbolic link for the Java.

  1. From the command line type in:

    rm /usr/bin/java

     
  2. From the command line type in:

    ln -s /usr/jre-6u33/bin/java /usr/bin/java

     
  3. Check to see if link is correct.

    Type in:

    ls -ld /usr/bin/java

    Eample output: lrwxrwxrwx 1 root other 30 May 28 15:30 /usr/bin/java -> /usr/jre-6u33/bin/java

Run the install script for Scan Engine.

  1. Browse to the directory you extracted the Scan Engine program.
     
  2. Type in:

    ./ScanEngine.sh

     
  3. Follow the prompts.

Applies To

 

Solaris