Exception in thread "main" java.lang.NoClassDefFou

Having trouble installing Oxygen? Got a bug to report? Post it all here.
rfolwell
Posts: 8
Joined: Wed Aug 27, 2003 3:50 pm

Exception in thread "main" java.lang.NoClassDefFou

Post 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
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Post 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
rfolwell
Posts: 8
Joined: Wed Aug 27, 2003 3:50 pm

Post 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
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Post 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
rfolwell
Posts: 8
Joined: Wed Aug 27, 2003 3:50 pm

Post by rfolwell »

Yes, that worked fine. Thanks very much.

Richard
Post Reply