cxcalc command line license

User 6157004068

07-03-2008 18:29:54

Hello,





I'm having a problem running cxcalc command line but has no problem running the GUI. It looks like a license issue, but I don't understand because the license was installed and the GUI works. I'm running it on Linux. The error message is following. Could anyone provide a solution? Thanks in advance. -- Qing





Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: chemaxon.marvin.Calculator


at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)


at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)


at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)


at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)


at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)


at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)


at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)


at __gcj_personality_v0 (/mgl/projects2/surfdock/sduser1/qzhang/Research/ChemAxon/MarvinBeans/java.version=1.4.2)


at __libc_start_main (/lib/tls/libc-2.3.4.so)


at _Jv_RegisterClasses (/mgl/projects2/surfdock/sduser1/qzhang/Research/ChemAxon/MarvinBeans/java.version=1.4.2)


Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException not found in [file:/mgl/projects2/surfdock/sduser1/qzhang/Research/ChemAxon/MarvinBeans/bin/../lib/MarvinBeans.jar, file:/asd/apps/ccp4-6.0.2/bin/, file:./, file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]


at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)


at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)


at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)


at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)


at _Jv_ClassReader.handleClassBegin(int, int, int) (/usr/lib/libgcj.so.5.0.0)


at _Jv_ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)


at _Jv_DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)


at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)


at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)


at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)


at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)


at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)


at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)


at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)


at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)


at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)


at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)


at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)


at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)


at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)


at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)


...9 more

ChemAxon 7c2d26e5cf

10-03-2008 13:39:12

This seems to be a configuration problem.


The stack trace includes references to gcj (GNU Java).


Marvin supports only Sun distributed Java versions (1.4.2 or higher).


Please see the installation guide:


Installation GUide for Marvin Beans -- Linux / Solaris instructions

User 6157004068

10-03-2008 17:09:20

Tamas, thanks a lot. It works now with Sun's Java installed.