Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
Thread Tools Display Modes
  #1  
Old December 1st, 2001
Unregistered
Guest
 
Posts: n/a
Question Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX

I'm using a Red Hat 7.2, download and install
j2re-1_4_0-beta3-linux-i386-rpm.bin from sun.com.
After I change the line 3 of the "LimeWireLinux.bin" file to PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/java/j2re1.4.0/bin:/usr/java/j2re1.4.0/lib
and when I run ./LimeWireLinux.bin a have this gift:
Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX
Reply With Quote
  #2  
Old January 21st, 2002
Unregistered
Guest
 
Posts: n/a
Default me too...

I had this exact error, I am in Mandrake 8.1 though.
Reply With Quote
  #3  
Old January 21st, 2002
HeadHolio HeadHolio is offline
Gnutella Admirer
 
Join Date: September 3rd, 2001
Posts: 63
HeadHolio is flying high
Question

What shows up when you type "java -version" into a console?
Reply With Quote
  #4  
Old January 21st, 2002
Unregistered
Guest
 
Posts: n/a
Default this shows up

when i run: java -version, i get:
java version "1.3.1_02"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
Reply With Quote
  #5  
Old January 21st, 2002
Unregistered
Guest
 
Posts: n/a
Default also

by the way, the limewire 1.7 installer works, I tried it just to check, so it must be something new in the 2.1.1 or whatever the newest one is
Reply With Quote
  #6  
Old January 22nd, 2002
Unregistered
Guest
 
Posts: n/a
Default

DUH!!!! Stooopeeed me!!!

Okay, here's the deal. I'm the guy who posted earlier about setting your $PATH to the Java Virtual Machine.

1.) Assuming you have Sun's JRE installed, it would be in the following directory:

/usr/java/

The $PATH of course would be:

/usr/java/jre1.3.1_02/bin

2.) So now that we've established

$ echo $PATH
/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/sbin:/usr/java/jre1.3.1_02/bin

that java is in your $PATH you're 1/2 way there.
IF you have a version of kaffe on your system, remove it (as root):

$ rpm -q kaffe

IF you have any version on there then remove:

$ rpm -e kaffe

(Or use your favorite GUI package manager)
===============

This seems to be installed by default on Mandrake. It'll cause conflicts!

Querying the version of java I have:

$ rpm -q jre-1.3.1_02
jre-1.3.1_02-fcs

Shows I have the latest version (although I thought I saw jre-1.3.1_03 out somewhere).

Now it works! Yay!!! Time to send in my donation ...
Reply With Quote
  #7  
Old January 22nd, 2002
Unregistered
Guest
 
Posts: n/a
Default Uh.........

I have done all of that stuff. I still got that error. (I never had Kaffe installed BTW)
Reply With Quote
  #8  
Old January 22nd, 2002
HeadHolio HeadHolio is offline
Gnutella Admirer
 
Join Date: September 3rd, 2001
Posts: 63
HeadHolio is flying high
Default

AAHHH. Too many people called Unregistered. I don't know who is who! Is this guy talking to himself? Heh. Anyways, I urge you to double check your Java installation, and make sure that you do NOT have any trace of Kaffe on your system (even by accident). And if that doesn't work, I urge you to try a different version of Java, possibly Sun's beta version 1.4. It's worth a try right? I just have a feeling that there is something wrong with your java setup. It just doesn't sound right to have sooo many successful Java installations on Mandrake 8.0 and 8.1 by other users, and then have you with this problem.
Reply With Quote
  #9  
Old January 24th, 2002
Unregistered
Guest
 
Posts: n/a
Default Did that

I did that stuff too, the Java install is fine, LimeWire just isn't installing. My JRE runs fine. If anyone has seen this error and solved it, please tell me.
Reply With Quote
  #10  
Old January 26th, 2002
Unregistered
Guest
 
Posts: n/a
Default

I am none of the above unregistered people. I am using Red Hat 7.1 and I am getting the exact same error message. A fix would be great.
Reply With Quote
  #11  
Old January 26th, 2002
s0cks s0cks is offline
Novicius
 
Join Date: January 26th, 2002
Posts: 1
s0cks is flying high
Default

I registered, I also downloaded and installed j2re1.4.0, I changed the path and my java -version is now:
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)

But I still get the same 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

same error as with j2re1.3.1_02
I have had Limewire working with RedHat 7.1 but it was an older version. New Hard drive , Old Bios meant the Linux partition had to go for a bit but its back, however limewire is not. Please help.
Reply With Quote
  #12  
Old January 28th, 2002
afisk afisk is offline
LimeWire Developer
 
Join Date: May 6th, 2001
Location: New York
Posts: 691
afisk is flying high
Default

Does the installer output any error logs that you might be able to send me at [email protected]? They should either be called err.txt or out.txt. I might be able to be of some assistance if you send them in.

Until then, there's always our trusty tgz download, available at:

http://www.limewire.com/index.jsp/download_other

I'm going to go ahead and move this thread over to the new installation section of the forum, but I'll leave a link to it.
Reply With Quote
  #13  
Old January 31st, 2002
Unregistered
Guest
 
Posts: n/a
Lightbulb I got it working

Hello all, I know the error messages you get. I got them. And no one could make sense of it sending me on wild goose chases. But I think I figured something out.

In Redhat 7.2:
Even though you install the RPM of Sun's JRE there is STILL an OLD java in /usr/bin so I did this:
(as root)
mv /usr/bin/java /usr/bin/java.old
ln -s /usr/java/jre1.3.1_02/bin/java /usr/bin/java

Basically this moves and renames the non-working java to java.old, then makes a symbolic link to the java we want to use.

Limewire worked right away :-)

AOL-IM: toodeep2c
Reply With Quote
  #14  
Old January 31st, 2002
afisk afisk is offline
LimeWire Developer
 
Join Date: May 6th, 2001
Location: New York
Posts: 691
afisk is flying high
Default

Thanks very much for the helpful reply!
Reply With Quote
  #15  
Old February 4th, 2002
Unregistered
Guest
 
Posts: n/a
Angry

i tried that symbolic linking fix, but when i finished, it told me there were too many levels of symbolic linking. what the heck?
Reply With Quote
  #16  
Old February 10th, 2002
Unregistered
Guest
 
Posts: n/a
Default

tried rpm -e kaffe
got the following

error: removing these packages would break dependencies:
kaffe is needed by wizard-3.2.1-5mdk
Now I now I could remove the wizard but I use it for Samba set up
(this is done and I really could dump it)

I then tried
mv /usr/bin/java /usr/bin/java.old
ln -s /usr/java/jre1.3.1_02/bin/java /usr/bin/java

The problem is I do not have jre changed jre to jdk and voila
it now works
Reply With Quote
  #17  
Old February 16th, 2002
Unregistered
Guest
 
Posts: n/a
Default

(new unreg person to this topic... will refer to my self as ethan because that's my name... to ease confusion)

ethan:
i have this error too in mandrake 8.1 i am VERY VERY NEW to linux... i'm a windows user... converting to this because it's "better" i so far have only gotten AIM to work on linux... i'm shooting for a second thing to work with limewire... i also get this error and i have tried that symbol link fix and i didn't even have a /usr/bin/java file...
Reply With Quote
  #18  
Old February 16th, 2002
HeadHolio HeadHolio is offline
Gnutella Admirer
 
Join Date: September 3rd, 2001
Posts: 63
HeadHolio is flying high
Unhappy

Email me for help with your Linux/java setup. Sounds like you've made a mess

(use this forum to email me)
Reply With Quote
  #19  
Old February 28th, 2002
Unregistered
Guest
 
Posts: n/a
Default

you are gertting a java class path issue you might want to check that you have the class that the program you are running is in the classpath befor you run the file its not a hugh thing it just a java class that is not thre..;....


cheers and good luck Andrewp
Reply With Quote
  #20  
Old March 5th, 2002
Unregistered
Guest
 
Posts: n/a
Unhappy Still not working...

(I am using Mandrake 8.1 and KDE 2.2.1, and am a complete Newbie to Linux. I have migrated from Windows due to the fact that it sux a$$. Please be considerate of my limited knowlage of Linux... ) I have tried almost everything suggested on this forum but i still get this error when trying to install Lime Wire:
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

I started off with the Kaffe 1.0.6 version of java, and removed it because it was giving me completely different errors, and most people said to remove it. I then downloaded and installed the Java 2 Runtime Environment Standard Edition, v 1.3.1_02. I then tried to install LimeWire again, without much success. But this time I at least got the same error as the rest of the people. I tried typing in java -version but it keet saying that that the java command was not found. I then decided to remove 1.3.1 and install 1.4.0. After I had completed this the error still remained. Whenever I type in java -version it still says that the command java is not found. I have tried chaing the PATH in the LimeWireLinux.bin file and this didn't do anything either. My GUI software installer (Mandrake Software Manager) says that the java 1.4.0 package is installed and the directoy /usr/java/j2re1.4.0/ exists. Typing java -version in the console still returns the error: command not found. I am unsure as to what to do. Any help on this matter would be greartly appreciated.
Reply With Quote
  #21  
Old March 16th, 2002
Unregistered
Guest
 
Posts: n/a
Default

I have had these problems too with SuSE 7.1 Professional. Here is what I did to fix the problem.

In Xwindows, I opened a terminal, and typed:

xhost +

I then su'd to root:

su -

I then set my display:

export DISPLAY=:0

I then ran the installer:

sh ./LimeWireLinux.bin

And the GUI appeared and I was running.
Reply With Quote
  #22  
Old March 25th, 2002
jsand jsand is offline
Novicius
 
Join Date: March 25th, 2002
Location: Chicago Illinois
Posts: 2
jsand is flying high
Wink LimeWire install for Linux 7.2

LimeWire Install for Linux 7.2

First you will need to uninstall Kaffe if it is installed on your system. do this as root also you will need to install an JRE you can find this at www.java.sun.com or www.download.com

rpm -e kaffe this will remove kaffe

Next as root (in roots home directory) typels -a this will list all files. use your favorite text editer and edit the file .bash_profile by editing the line that looks like this
PATH=$PATH:$HOME/bin

you want it to look like this
PATH=$PATH:$HOME/bin:/usr/java/j2re<your version>/bin

Now run the LimeWire installer
sh ./LimeWirelinux.bin
and it should be installing in no time.

Hope this helps
Reply With Quote
  #23  
Old March 25th, 2002
Unregistered
Guest
 
Posts: n/a
Default This is getting insane.

New unregistered, similiar problem; here's the deal.
Fixed the whole kaffe problem, upgraded to Java 2 SDK, 1.4.0, $PATH is working fine and all. Edited line 3 of LimeWireLinux.bin to correct path, and still got this error when I typed ./LimeWireLinux.bin:

Preparing to Install...
Extracting the resources etc. etc.

Ready to Install...

./LimeWireLinux.bin: /bin/java: No such file or directory.

OK, easy enough to fix, just made a simlink to /usr/java/j2sdk1.4.0/bin/java in /bin. Then the same thing happened, only this time the error pointed to /usr/bin/java. When I repeated the fix (i.e. makign a simlink from the error directory to the working java directory) I recieved the "Exception in thread "main" etc. etc. " that has caused so many headaches thus far.
I'm pretty new with Linux but have done pretty well so far. However try as I might I cannot seem to lick this problem. Any input would be vastly apreciated.
Reply With Quote
  #24  
Old March 25th, 2002
jsand jsand is offline
Novicius
 
Join Date: March 25th, 2002
Location: Chicago Illinois
Posts: 2
jsand is flying high
Default LimeWireLinux.bin

You do not need to edit the LimeWireLinux.bin script at all. add your J2re path to your .bash_profile in roots home directory.
Reply With Quote
  #25  
Old March 29th, 2002
Unregistered
Guest
 
Posts: n/a
Default

symbolic link fix worked great for me thanks man...
Reply With Quote
  #26  
Old April 1st, 2002
Unregistered
Guest
 
Posts: n/a
Default

I have the same problem. Anyone who can help me out. I would greatly appreciate it. I don't like to have to switch between Windows and Mandrake 8.2 to download stuff off of LimeWire.
PLEASE HELP!!!!!!!!!
Reply With Quote
  #27  
Old April 16th, 2002
Unregistered
Guest
 
Posts: n/a
Default

Yeah I'm another new guy (Mat) but my error message is a little bit different. I get

Launching installer...

Error occured during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

Oh yeah I'm running Mandrake 8.1
Reply With Quote
  #28  
Old April 16th, 2002
Unregistered
Guest
 
Posts: n/a
Default

Never mind....
I upgraded to Java 1.4.0 and I now get the same jav.lang.bla.bla message. I have tried everything here but it still does not work
Reply With Quote
  #29  
Old April 16th, 2002
Taliban Taliban is offline
Gnutella Aficionado
 
Join Date: March 13th, 2002
Location: Aachen
Posts: 832
Taliban is flying high
Default

is your classpath correct ?

export CLASSPATH=/usr/lib/java/lib (or wherever your rt.jar file is located)

might do the trick...
Reply With Quote
  #30  
Old April 16th, 2002
Taliban Taliban is offline
Gnutella Aficionado
 
Join Date: March 13th, 2002
Location: Aachen
Posts: 832
Taliban is flying high
Default

Oh and what does "java -version" return?
Reply With Quote
  #31  
Old April 16th, 2002
Unregistered
Guest
 
Posts: n/a
Default

(Mat)
"java -version" shows

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

My classpath is now correct as well but I still get the error message.
Reply With Quote
  #32  
Old May 9th, 2002
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Lightbulb I Got It Working

I will take it to another level. I am using Mandrake 8.2 with Java blackdown version:

java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-02b-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1_02b-FCS, mixed mode)

I put where I downloaded my j2sdk1.3.1-02b-FCS:

/usr/lib/j2sdk1.3.1

into my PATH in my .bash_profile:

export JAVA_HOME=/usr/lib/j2sdk1.3.1
export PATH=$JAVA_HOME/bin:$PATH

After doing that, I remove kaffe from my system but I have a dependency problem with my wizard packages. I do this command to keep that program around:

rpm -e kaffe --nodeps

This removes all instances of kaffe binaries from /usr/bin.

I next create soft links to the /usr/bin directory but blackdown has most of all of it's java commands (ie java, javac, etc) as symbolic links. Some people´s configuration will not allow that many symlinks.
the symlinks point to a "hidden" file called .java_wrapper. So I link this to my /usrbin directory like so:

ln -s /usr/lib/j2sdk1.3.1/bin/.java_wrapper /usr/bin/java

After doing that, I execute the LImeWireLinux.bin installer:

./LimeWireLinux.bin

Installation works. Program installed, running, and functional. I discovered that I had to install the program as user instead of trying to set it systemwide as root.
Reply With Quote
  #33  
Old May 9th, 2002
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Talking Salvation

I will take it to another level. I am using Mandrake 8.2 with Java blackdown version:

java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-02b-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1_02b-FCS, mixed mode)

I put where I downloaded my j2sdk1.3.1-02b-FCS:

/usr/lib/j2sdk1.3.1

into my PATH in my .bash_profile:

export JAVA_HOME=/usr/lib/j2sdk1.3.1
export PATH=$JAVA_HOME/bin:$PATH

After doing that, I remove kaffe from my system but I have a dependency problem with my wizard packages. I do this command to keep that program around:

rpm -e kaffe --nodeps

This removes all instances of kaffe binaries from /usr/bin.

I next create soft links to the /usr/bin directory but blackdown has most of all of it's java commands (ie java, javac, etc) as symbolic links. Some people´s configuration will not allow that many symlinks.
the symlinks point to a "hidden" file called .java_wrapper. So I link this to my /usrbin directory like so:

ln -s /usr/lib/j2sdk1.3.1/bin/.java_wrapper /usr/bin/java

After doing that, I execute the LImeWireLinux.bin installer:

./LimeWireLinux.bin

Installation works. Program installed, running, and functional.
Reply With Quote
  #34  
Old June 28th, 2002
rs008f rs008f is offline
Apprentice
 
Join Date: June 28th, 2002
Posts: 7
rs008f is flying high
Default

That didn't work for me either. I have SUSE 8.0 and there is no old java in /usr/bin. However there is an old java in /usr/lib/SunJava1-1.1.8/bin but when I do a java -version, the system recognizes 1.40, so it means it'not using the old version. Am I right? I'll download the trusted LImeWire tgz version and see if it'll work.
Reply With Quote
  #35  
Old June 28th, 2002
rs008f rs008f is offline
Apprentice
 
Join Date: June 28th, 2002
Posts: 7
rs008f is flying high
Default

I managed to get the tgz version to work.
http://www.gnutellaforums.com/showth...3513#post43513
Reply With Quote
  #36  
Old July 1st, 2002
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default BlackDown?

Quote:
Originally posted by Unregistered
i tried that symbolic linking fix, but when i finished, it told me there were too many levels of symbolic linking. what the heck?
You must be using blackdown's jvm package. YOu will have to create your links like so:

ln -s /usr/lib/j2re1.4.0_01/bin/.java_wrapper /usr/bin/java

Just replace "/usr/lib/j2re1.4.0_01" with your correct directory.

HTH

altoine
Reply With Quote
  #37  
Old July 30th, 2002
Unregistered
Guest
 
Posts: n/a
Default

IM a new poster and do ALL the stuff and still the same error message.........seem we have a bug.......
Reply With Quote
  #38  
Old August 3rd, 2002
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: I got it working

Quote:
Originally posted by Unregistered
Hello all, I know the error messages you get. I got them. And no one could make sense of it sending me on wild goose chases. But I think I figured something out.

In Redhat 7.2:
Even though you install the RPM of Sun's JRE there is STILL an OLD java in /usr/bin so I did this:
(as root)
mv /usr/bin/java /usr/bin/java.old
ln -s /usr/java/jre1.3.1_02/bin/java /usr/bin/java

Basically this moves and renames the non-working java to java.old, then makes a symbolic link to the java we want to use.

Limewire worked right away :-)

AOL-IM: toodeep2c
YOu wouldn't have to do that at all if you put $JAVA_HOME/bin in front of all yiour other path statements like so:

export PATH=$JAVA_HOME/bin:$PATH

altoine.
Reply With Quote
  #39  
Old August 3rd, 2002
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Many Apologies

Quote:
Originally posted by rs008f
That didn't work for me either. I have SUSE 8.0 and there is no old java in /usr/bin. However there is an old java in /usr/lib/SunJava1-1.1.8/bin but when I do a java -version, the system recognizes 1.40, so it means it'not using the old version. Am I right? I'll download the trusted LImeWire tgz version and see if it'll work.
I didn't see this message until now. The reason your tarball worked it that you had been rebooted your computer since the last upgrade. You should type:

source .bash_profile

if you don't want to do the "Windows" method of getting configuration settings to work.

altoine
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX davidtwillingham General Linux Support 0 September 21st, 2003 12:38 PM
2.8.4: Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX cdevidal General Linux Support 8 January 3rd, 2003 10:07 AM
Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX pengu|nator General Linux Support 4 December 13th, 2002 04:32 PM
Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX pengu|nator General Linux Support 0 December 8th, 2002 06:35 AM
Exception in thread "main" java.lang.NoClassDefFoundError: com/zero/lax/LAX Unregistered General Linux Support 1 October 15th, 2001 11:23 PM


All times are GMT -7. The time now is 03:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.

Copyright © 2026 Gnutella Forums
All Rights Reserved