View Single Post
  #16 (permalink)  
Old 08-31-2009, 06:36 AM
tdesorbaix tdesorbaix is offline
Zimlet Guru & Moderator
 
Posts: 265
Default

Quote:
Originally Posted by bmw View Post
Can't get it to work.

Kubuntu Jaunty 9.04 2.6.28-15-generic and latest Zdesktop v1.0 build 1593
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.1) Gecko/2008072406 Prism (zdesktop/1.0)
Code:
~/zimbra/zdesktop/zimlets$ java -cp jetty/lib/log4j-1.2.8.jar:jetty/common/lib/commons-httpclient-3.0.jar:jetty/common/lib/mail.jar:jetty /common/lib/commons-logging.jar:jetty/common/lib/commons-codec-1.3.jar:jetty/common/lib/json.jar:jetty/common /lib/dom4j-1.5.jar:jetty/common/lib/zimbracommon.jar:jetty/webapps/service/WEB-INF/lib/zimbrastore.jar   -Dzimbra.config=conf/localconfig.xml com.zimbra.cs.zimlet.ZimletUtil deploy zimlets/orangesoda.zip
Exception in thread "main" java.lang.NoClassDefFoundError: /common/lib/commons-logging/jar:jetty/common/lib/commons-codec-1/3/jar:jetty/common/lib/json/jar:jetty/common
Caused by: java.lang.ClassNotFoundException: .common.lib.commons-logging.jar:jetty.common.lib.commons-codec-1.3.jar:jetty.common.lib.json.jar:jetty.common
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: /common/lib/commons-logging.jar:jetty/common/lib/commons-codec-1.3.jar:jetty/common/lib/json.jar:jetty/common.  Program will exit.
Suppress the space in the command in "jetty /common/lib/commons-logging.jar".
Maybe also try the command while being in "~/zimbra/zdesktop/" and not in "~/zimbra/zdesktop/zimlets".
Reply With Quote