Page 1 of 1

SuSE 8.1: Exception in thread "main" java.lang.NoC

Posted: Tue Apr 08, 2003 8:53 pm
by Mark
Error:

./oxygen.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

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


This is a step ahead... as I had to comment out the LD_BLAH in oxygen.bin as per a previous post in this forum. I noticed someone else having this problem but no response was posted to their question.

Has anyone had any luck getting around it?

Thanks,
-Mark

Posted: Wed Apr 09, 2003 10:17 am
by Dan
What Java VM are you using?

Try the commands:

> which java
> java -version

Make sure you do not have installed an old JVM in the /usr/bin.

Posted: Wed Apr 09, 2003 8:36 pm
by creos
I get.

$which java
/usr/lib/java/jre/bin/java

$java -version
java version "1.3.1_04"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
Java HotSpot (TM) Client VM (build 1.3.1_04-b02, mixed mode)

Is JRE 1.3.1 considered an old version?

Posted: Thu Apr 10, 2003 2:22 am
by creos
Well, I went and installed JRE 1.4.1 & changed my path so it doesn't see 1.3.

mark@unassigned:~/Stuff> which java
/usr/java/bin/java

mark@unassigned:~/Stuff> java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)

And still get this same error...

mark@unassigned:~/Stuff> ./oxygen.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

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



Any other thoughts?

Thanks,
-Mark

SOLUTION !

Posted: Thu Apr 10, 2003 2:40 am
by creos
Ok,

Based on another post I decided to redownload the oxygen setup.

I notice on the download page, it has:

Linux version (12MB)
All Systems (11MB)

I decided to download the one for ALL unix systems instead of the one for Linux.

Unzipped it and did the following:
mark@unassigned:~/Stuff> chmod +x oxygen.sh
mark@unassigned:~/Stuff> ./oxygen.sh
Apr 9, 2003 4:37:52 PM java.util.prefs.FileSystemPreferences$5 run
INFO: Created user preferences directory.


Low and behold! The installer launched. Now I can finally move on to trial license.

So, my advise to all of you with this problem is, Don't download the .bin file for Linux. Download the 11mb for All unix systems, unarchive, make executable, and then run. Also, JRE 1.4 appears to be a good idea per the developer but I don't know if it's needed.

-Mark

Posted: Thu Apr 10, 2003 8:31 am
by Dan
Indeed, the installer may cause problems on Linux, In one case it found an old java installation that was not in my path, and in some cases it could not find the libc 6.0 libraries..
Yes, the best solution on Linux is to have it installed from the "All platforms" distribution.