Manually upgrade Java LiveUpdate 3.x on Linux, Solaris, AIX

Article:TECH179548  |  Created: 2012-01-23  |  Updated: 2013-10-24  |  Article URL http://www.symantec.com/docs/TECH179548
Article Type
Technical Solution


Environment

Subject

Issue



This document explains how to manually perform a Java LiveUpdate (JLU) upgrade on *NIX systems.


Solution



Check Java LiveUpdate version

The following example shows the command to return the version of JLU, when run from the same directory containing the "jlu-x.x.x.jar" file:

java -cp /path/to/jlu-3.7.7.jar com.symantec.liveupdate.Version

 

Install Java LiveUpdate

  1. Copy the new version of the "jlu-x.x.x.jar" to the folder containing the old version of JLU.
  2. Run the JLU Installer by typing the following command:
     java -cp ./jlu-x.x.x.jar Installer  
  1. The new version of JLU should now be installed.

 

Sample output from JLU installation (version 3.7.7)

# java -cp ./jlu-3.7.7.jar Installer
Initializing the log file: /tmp/JLU-Log/JavaLiveUpdate-Install.log
trying to write into log file
SunOS 5.10
Java Version 1.5.0_07.
Java LiveUpdate version 3.7 Build 7.
Extracted out unixinstall.sh to /tmp/1327328298398/unixinstall.sh.
Extracted out unixuninstall.sh to /tmp/1327328298398/unixuninstall.sh.
Extracted out liveupdate.conf to /tmp/1327328298398/liveupdate.conf.
Extracted out cryptix-jce-provider.jar to /tmp/1327328298398/cryptix-jce-provider.jar.
Copied ./jlu-3.7.7.jar to /tmp/1327328298398/jlu-3.7.7.jar.
Deleting file /tmp/1327328298398/unixinstall.sh
Deleting file /tmp/1327328298398/unixuninstall.sh
Deleting file /tmp/1327328298398/liveupdate.conf
Deleting file /tmp/1327328298398/cryptix-jce-provider.jar
Deleting file /tmp/1327328298398/jlu-3.7.7.jar
Deleting file /tmp/1327328298398/uninstall.bak
Deleting directory /tmp/1327328298398.
The Java LiveUpdate installation completed successfully.
Java LiveUpdate installer has exited with return code 0
### End of Install ###

Return code = 0

 

Sample default liveupdate.conf file

For troubleshooting purposes, the following data represents a default JLU configuration file "Liveupdate.conf", generally placed under /etc.
Note: the liveupdate.conf is case sensitive.

hosts/0/url=http://liveupdate.symantecliveupdate.com:80/
hosts/1/url=http://liveupdate.symantec.com:80/
hosts/2/login:ENC=b3effdd10d982d2c7339c9604c67c34c
hosts/2/mode=passive
hosts/2/password:ENC=18d2e2d4c1445548f8a5ef124ed20bfd
hosts/2/url=ftp://update.symantec.com/opt/content/onramp
cacheMode=false
logfile=/tmp/symantec/liveupdt.log
serverlogging=true
workdir=/restore/temp

Attachments

JAR - Java LiveUpdate version 3.7.7
jlu.jar (2 MBytes)
README - Java LiveUpdate version 3.7.7
readme.txt (12 kBytes)





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


Terms of use for this information are found in Legal Notices