Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   2.8.4: Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX (https://www.gnutellaforums.com/general-linux-support/18218-2-8-4-exception-thread-main-java-lang-noclassdeffounderror-com-zerog-lax-lax.html)

cdevidal December 27th, 2002 08:11 AM

2.8.4: Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX
 
I had this working in Mandrake 9! This is RedHat 7.3. I also redownloaded the installer and installed JRE 1.3.1-06 with EXACTLY THE SAME ERROR MESSAGE. No, I have not installed Blackdown or Kaffee or anything but Sun's JREs.

===============================
[cdevidal@localhost linux]$ rpm -q j2re
j2re-1.4.1_01-fcs
[cdevidal@localhost linux]$ export PATH=/usr/java/j2re1.4.1_01/bin:$PATH
[cdevidal@localhost linux]$ java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
[cdevidal@localhost linux]$ ./LimeWire-2.8.4.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
===============================

???????
/dev/idal

cdevidal December 28th, 2002 07:03 PM

A workaround
 
I was able to work around the problem by getting the tarball (LimeWireLinux.tgz) from LimeWire.com (thanks guys for putting that out there, else I'd be pooched!). I unpacked the tarball, changed into the new directory I put the files into, and executed:
export PATH=/usr/java/j2re1.4.1_01/bin:$PATH && sh ./runLime.sh

But I still can't explain why I couldn't install with the .bin file.

I tried
export LAX_DEBUG && ./LimeWire-2.8.4.bin
but didn't find anything useful.

My install of RedHat 7.3 was completely basic (e.g. I selected NO packages during install) and I have been adding on packages and dependancies for KDE, XMMS, NVidia drivers, a few games, a compiled GAIM, Mozilla+Galeon, and that's about it. There's little else to conflict here.

If anyone has any ideas why I couldn't use the regular installer, please post them so others might benefit.

Thanks,
/dev/idal

Kiljoy001 January 1st, 2003 11:22 PM

Just a question
 
I was wondering because I am a linux novice is there and easier way to activate limewire ?

cdevidal January 2nd, 2003 06:25 AM

Register?
 
Huh? I just installed it and got online. I don't recall even making a profile or anything.

/dev/idal

Kiljoy001 January 2nd, 2003 08:51 AM

Further clarification
 
I ment would I have to type in that long command to start limewire each and everytime or is there an easier way to do it ?

cdevidal January 2nd, 2003 09:08 AM

Shorter command
 
Oh, OK. If you followed my directions, you would have to type that long command to execute LimeWire, a real pain.

I first edited runLime.sh to include the path to the java program, so I could skip the export PATH=... part. You should see it at the bottom of that file, java something... (don't have that computer in front of me right now).

I put
/usr/java/j2re1.4.1_01/bin/java ...

Then I put a link to the runLime.sh to a directory in my $PATH. Then I could start it by just running
limewire

To do this, type
ln -fs /path/to/runLime.sh /path/to/some/directory/in/$PATH

Example:
I copied the unpacked tarball to /opt/limewire.
echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin
Since I like my globally-usable commands in /usr/bin, I ran this:
ln -fs /opt/limewire/runLime.sh /usr/bin/limewire
which created the limewire command.

Then you can start LimeWire by simply running
limewire
on a commandline or from a menu entry or shortcut.

/dev/idal

Kiljoy001 January 2nd, 2003 09:39 AM

Thanks a bunch!
 
I'll give it a try after I come back from my jog !

Kiljoy001 January 3rd, 2003 08:53 AM

Please explain...?
 
I tried to do what you said but I have no clue what to add to the runLime.sh file... is it export PATH=/usr/java/j2re1.4.1_01/bin:$PATH && sh ./runLime.sh ?

cdevidal January 3rd, 2003 09:07 AM

Answer was in the last mail
 
Here's the answer to your question in the last mail:
You should see it at the bottom of that file, java something... (don't have that computer in front of me right now).

I put
/usr/java/j2re1.4.1_01/bin/java ...

Hope it helps,
/dev/idal


All times are GMT -7. The time now is 04:08 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.