Gnutella Forums

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

Unregistered March 16th, 2002 12:12 AM

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.

jsand March 24th, 2002 11:46 PM

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

Unregistered March 25th, 2002 04:40 PM

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.

jsand March 25th, 2002 05:25 PM

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.

Unregistered March 29th, 2002 03:44 AM

symbolic link fix worked great for me thanks man...

Unregistered April 1st, 2002 05:50 PM

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!!!!!!!!!

Unregistered April 16th, 2002 01:31 AM

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

Unregistered April 16th, 2002 03:26 AM

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

Taliban April 16th, 2002 08:13 AM

is your classpath correct ?

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

might do the trick...

Taliban April 16th, 2002 08:19 AM

Oh and what does "java -version" return?


All times are GMT -7. The time now is 02:08 PM.

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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.