Install and configure Java to be used exclusively by Symantec AntiVirus for Linux
|Article:HOWTO36063|||||Created: 2010-11-16|||||Updated: 2015-02-19|||||Article URL http://www.symantec.com/docs/HOWTO36063|
CAUTION: This guide is unsupported and provided for your convenience only.
This article will guide you in downloading and installing a version of Java that will only be used by Symantec AntiVirus for Linux. This will enable Symantec AntiVirus for Linux to use its own version of Java that can be installed alongside other versions of Java, without causing a negative impact on a computer.
- Go to the Java download page.
- Download one of the following files depending if you are on a 32-bit or 64-bit (x64) system
- Linux (self-extracting file)
- Linux x64 *
- Open a terminal and change to the directory where Java was downloaded (ususally /home/USERNAME/Downloads)
- Mark the file as executable (
FILENAMEshould be similar to jre-6u22-linux-x64.bin or jre-6u22-linux-i586.bin)
chmod +x FILENAME
- Run the file
- This should result in a new directory that now contains java (similar to jre1.6.0_22)
- Download jce_policy-6.zip.
- Extract the JCE policy files:
- 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/
- 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
- 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
Symantec AntiVirus for Linux 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.
Note: For Java SE 7, please use Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 rather than Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6
Article URL http://www.symantec.com/docs/HOWTO36063