Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

SAV for Linux

Created: 22 Nov 2011 • Updated: 22 Nov 2011 | 2 comments

 

  java -cp jlu.jar com.symantec.liveupdate.config.editor.ConfEditor
Exception in thread "main" java.lang.NoClassDefFoundError: com/symantec/liveupdate/config/editor/ConfEditor
Caused by: java.lang.ClassNotFoundException: com.symantec.liveupdate.config.editor.ConfEditor
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.symantec.liveupdate.config.editor.ConfEditor.  Program will exit.
 
 
I am getting this error message when i try to update the liveupdate.conf file. can any one find the solution

Comments 2 CommentsJump to latest comment

Thomas K's picture

Have you seen this KB?

Configuring Symantec Antivirus for Linux (SAVFL) to download definitions from the Distribution Center of an internal LiveUpdate Administrator (LUA) 2.x Server - http://www.symantec.com/business/support/index?pag...

Moving this thread to the Endpoint Protection (AV) forum for better visibility.

thomas_m's picture

Looks like you either 

A) Are using open source java rather that Oracle Java with the JCE installed (which is possible since you aren't directly specifying which version of java you are using)

or 

B) Aren't in the LiveUpdate directory so you aren't using the right jar file (which is possibe since you aren't directly specifying which jar file to use)

First, find your JAVA_HOME path from /etc/Symantec.conf and substitute it in the command below

JAVAHOME/java -cp /opt/Symantec/LiveUpdate/jlu.jar com.symantec.liveupdate.config.editor.ConfEditor

Symantec Technical Support Engineer, SEP, SAV for Linux<