LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java install Problem (http://www.linuxquestions.org/questions/linux-software-2/java-install-problem-318055/)

Hellaxe 04-28-2005 08:57 AM

Java install Problem
 
This is the problem:

Im 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 ive 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.
Ill 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.

Artanicus 04-28-2005 09:50 AM

Well, I cant get 'java version' to work either, but 'java -version' shows up correctly..

Im not familiar with your problem, but a thing to check is to make sure you have the $JAVA_HOME env variable set. Mine is: /usr/lib/java

Hellaxe 05-02-2005 08:19 AM

Quote:

Originally posted by Artanicus
Well, I cant get 'java version' to work either, but 'java -version' shows up correctly..

Im not familiar with your problem, but a thing to check is to make sure you have the $JAVA_HOME env variable set. Mine is: /usr/lib/java

ive made all that but nothing seems to work.:mad:

jet_zeng 05-07-2005 10:13 PM

Your deployment of package(com.m16e.mpbiz.MpBiz) has some errors!

Hellaxe 05-10-2005 05:57 PM

I've an update to this question:

Now i'm receiving this message:

http://img146.echo.cx/img146/8243/untitled15iv.jpg.

im kind of lost.

mrcheeks 05-10-2005 06:45 PM

Please remove gcj(it is suitable in some cases but it is not a complete java but a developpement version). Install java from java.sun.com. Use ubuntu FAQ concerning java.

Hellaxe 05-17-2005 06:26 AM

Quote:

Originally posted by mrcheeks
Please remove gcj(it is suitable in some cases but it is not a complete java but a developpement version). Install java from java.sun.com. Use ubuntu FAQ concerning java.
Thanx Mate IT WORKS:D


All times are GMT -5. The time now is 06:32 AM.