How to install and set up Java to be used exclusively by SAVFL

Article:HOWTO36063  |  Created: 2010-11-16  |  Updated: 2011-11-11  |  Article URL http://www.symantec.com/docs/HOWTO36063
Article Type
How To



Warning: This guide is unsupported and provided for your convenience only.

The following document is to assist in downloading and installing a version of Java that will only be used by SAVFL. This will allow SAVFL to have it's own version of Java to use that can be installed alongside other versions of Java without causing a negative impact on a system.

  1. Go to the following Java web page in an internet browser
    http://www.java.com/en/download/manual.jsp
     
  2. Download one of the following files depending if you are on a 32-bit or 64-bit (x64) system 
    Linux (self-extracting file) filesize: 20.2 MB
    Linux x64 * filesize: 19.6 MB
     
  3. Open a terminal and change into the directory it was downloaded (ususally /home/USERNAME/Downloads)
     
  4. Mark the file as executable (FILENAME should be similar to jre-6u22-linux-x64.bin or jre-6u22-linux-i586.bin)
    chmod +x FILENAME 
     
  5. Run the file
    ./FILENAME
     
  6. This should result in a new directory that now contains java (similar to jre1.6.0_22)
     
  7. Download the jce_policy-6.zip file from
    http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html

  8. Extract the JCE policy files
    unzip jce_policy-6.zip
     
  9. Copy the JCE policy files into the lib/security directory located in the Java directory extracted in the previous steps
    cp jce/*.jar jre1.6.0_22/lib/security/
     
  10. Move the directory containing Java into the /opt/Symantec directory (you may need to have root priviledges to do this)
    mv jre1.6.0_22 /opt/Symantec
     
  11. Edit /etc/Symantec.conf so JAVA_HOME now points to the correct Java directory. Note that the Java binary is located in the bin subdirectory of the previously extracted Java directory
    JAVA_HOME=/opt/Symantec/jre1.6.0_22/bin

SAVFL is now configured to use the Java version installed at /opt/Symantec/jre1.6.0_22. No other software on the system will use this version of Java. If LiveUpdate was previously run before setting up Java, you may need to make corrections in the /etc/liveupdate.conf file



Article URL http://www.symantec.com/docs/HOWTO36063


Terms of use for this information are found in Legal Notices