Install problem Mandrake 10.2 - Java 1.5

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ningham
Posts: 7
Joined: Mon Nov 10, 2003 10:20 pm
Location: Indiana University

Install problem Mandrake 10.2 - Java 1.5

Post by ningham »

I'm having trouble installing Oxygen 5.1 on Mandrake 10.2 with Java 1.5 installed. I have confirmed my PATH includes the path to java, and I have no other JAVA installed on my system.

I did not install the JAVA from the Mandrake distribution, but have downloaded and installed Java 1.5 from Sun. It is installed in /usr/local/java.

However, when I run the installer, I still get the Java error:

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


Is there some other ENV to set to get the installer to run?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

That generally means that another Java version was used by the installer. You should make sure that
which java
reports the location of your Java 1.5 installation.
Anyway, you can always use the all platforms distribution which is just an archive so the installation is as simple as extracting it somewhere. Then use the oxygen.sh startup script to start the application and eventually edit it to specify the full path to your java installation.

Best Regards,
George
ningham
Posts: 7
Joined: Mon Nov 10, 2003 10:20 pm
Location: Indiana University

Post by ningham »

Thanks for the pointer. I'll check out the all platforms version.

For the record, though. "which java" does return the correct path: /usr/local/java/bin/java
So, it seems like the installer is looking at something else...not sure what, though.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Asking around... the installer looks first for java at user/bin/java and finds there an old version which does not work. You need to remove that.

Best Regards,
George
ningham
Posts: 7
Joined: Mon Nov 10, 2003 10:20 pm
Location: Indiana University

Post by ningham »

Well, the All Platforms version works fine, thanks for tip on that. But in the interests of complete information....

I'm really not sure on what the installer is finding that it thinks is another version of Java. I do not have another version installed. (I'm running the installer as root.)

su root

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/java/bin

find / -name 'java'
/home/ningham/.openoffice/user/temp/java
/home/simlee/.ooo-1.1/user/temp/java
/usr/share/doc/libidn11-0.5.13/contrib/java
/usr/share/apps/kdevfilecreate/file-templates/java
/usr/share/apps/kdevappwizard/imports/java
/usr/local/java
/usr/local/java/bin/java
/usr/local/src/mysql-4.1.11/bdb/rpc_server/java

Again, thanks for the help, and the All Platforms version works fine. It just makes me wonder what's not working with the installer? I've installed previously just fine on FC3 and SUSE 9.2. However, I'm currently on Mandrake 9.2 (aka Mandriva 2005 LE) and I feel like I'm missing something.
Post Reply