Page 1 of 1

Exception in thread "main" java.lang.NoClassDefFou

Posted: Thu Aug 28, 2003 12:04 am
by rfolwell
Trying to install to SuSE Linux 8.1 (after commenting out the "export LD_ASSUME_KERNEL" line in oxygen.bin), I get this error message as the installer fails:

Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX

java -version produces:

java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

Any ideas?

TIA, Richard

Posted: Thu Aug 28, 2003 9:05 am
by Dan
Usually this is due to the fact the installer uses the Java VM from /usr/bin, not the one specified in the path. You have two options:
1. Rename the file /usr/bin/java to /usr/bin/java.old
2. Download the all platforms installation kit and change the oxygen.sh to point to the correct Java VM.

Cheers,
Dan

Posted: Thu Aug 28, 2003 10:47 am
by rfolwell
Thanks Dan. I don't have a /usr/bin/java, so that method is not going to work for me.

Can you give me a clue which line I need to change in oxygen.bin to make it point to my currentl Java VM? I had a look through it but could not find the appropriate line.

Richard

Posted: Thu Aug 28, 2003 12:38 pm
by Dan
Probably the oxygen.bin file is corrupted.

The best thing is to download the kit form here:

http://www.oxygenxml.com/InstData/All/oxygen.tar.gz

Extract this in separate a folder. Copy the registration file "license.zip" there.

If you have java in your PATH, you can start the editor directly using a terminal:

cd install-dir
sh oxygen.sh

If you do not have java in your PATH, then edit the "oxygen.sh" file, putting instead of "java" the complete path to the java executable.

Let me know if this worked for you.

Dan

Posted: Thu Aug 28, 2003 2:33 pm
by rfolwell
Yes, that worked fine. Thanks very much.

Richard