| Hellaxe |
04-28-2005 08:57 AM |
Java install Problem
This is the problem:
I´m trying the new realease from Ubuntu and e tryed to install an accounting software that works under Java and SQL, in this case Postgresql.
I made the download from the Sun website and i´ve followed the instructions.
But now when i do "java version" i get errors and it seems that the software is not in the correct path.
I´ll put here the code that i get when i try to run the accounting software:
Code:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Session Started: 2005-04-26-14-16-491670000
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: com.m16e.mpbiz.MpBiz
at java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.4.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.4.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.4.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.4.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.4.0.0)
at __libc_start_main (/lib/tls/i686/cmov/libc-2.3.2.so)
Caused by: java.lang.ClassNotFoundException: org.xml.sax.SAXException not found in [file:./, file:./i18n/, file:/usr/share/java/postgresql.jdbc3.jar, file:/usr/local/m16e/evaristo-v2r1/lib/m16e-free-tools-v0r13.jar, file:/usr/local/m16e/evaristo-v2r1/lib/evaristo-v2r1.jar, file:/usr/local/m16e/evaristo-v2r1/lib/classes/, file:/usr/local/m16e/evaristo-v2r1/lib/datavision-0.8.1.jar, file:/usr/share/java/jre1.5.0_02/bin/java/jruby.jar, file:/usr/share/java/jre1.5.0_02/bin/java/MinML2.jar, core:/]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.4.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.4.0.0)
at _Jv_PrepareCompiledClass(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
...7 more
And this is what i get when i do java version
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: version
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.4.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.4.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.4.0.0)
at __libc_start_main (/lib/tls/i686/cmov/libc-2.3.2.so)
A good help is needed.
Thank you all.
|