![]() |
LimeWire Linux: Class Error? OK, so I admit I'm new to Linux. But why am I getting this strange error message about Java Classes when I run the Installer (or is it actually LimeWire):confused:? I'm not at that computer now; I'll reply to this post with the exact message when I get back to that computer. I installed the latest version of the JRE program and installed it (ugh!), but still nothing. I'm using Red Hat Linux 7.1 with KDE 2.1.1 (I think :) ). Maybe it's just my installation, or maybe I'm not doing something right. Either way, I can't run LimeWire (and support isn't responding). So if you can help me, email me! |
Ths is the message I am getting (sorry it took me so long to reply...) : java.lang.ClassNotFoundException: / at java.lang.Class.forName(Class.java:native) at java.lang.Class.forName(Class.java:52) i tried the following commands too: sh runlime.sh ----- got me this: Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object runlime.sh: line 11: 1169 Aborted (core dumped) java -classpath . RunLime java -cp . runlime.sh ------ got me this: java.lang.ClassNotFoundException: / at java.lang.Class.forName(Class.java:native) at java.lang.Class.forName(Class.java:52) Any ideas? |
Im also getting errors running LimeWire 1.6 on my RedHat 6.2 box. I already installed the java2 runtime environment 1.3.1 [mikee@hermione LimeWire]$ ./runlime.sh Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object mikee@hermione LimeWire]$ java -cp . RunLime java.lang.NoClassDefFoundError: / at java.lang.Throwable.<init>(Throwable.java:38) at java.lang.Error.<init>(Error.java:21) at java.lang.LinkageError.<init>(LinkageError.java:21 ) at java.lang.NoClassDefFoundError.<init>(NoClassDefFo undError.java:21) [mikee@hermione LimeWire]$ java -cp .:LimeWire.jar:collections.jar a.a.a.b.Main java.lang.NoClassDefFoundError: /:LimeWire/jar:collections/jar at java.lang.Throwable.<init>(Throwable.java:38) at java.lang.Error.<init>(Error.java:21) at java.lang.LinkageError.<init>(LinkageError.java:21 ) at java.lang.NoClassDefFoundError.<init>(NoClassDefFo undError.java:21) Anyone who knows what Im doing wrong pls help. Thanks in advance. Mikee |
SameThing Why is evey one having this ploblem but no one can post the answer I hav been trying to get limewire tow run for two days of reading and trying all this diffrent stuff but NOTHING WORKS PLEASE SOMEONE THAT KNOW"S SOMETHING ABOUT THIS POST IT!!!!!!!!!!!!!! |
Same error here I'm getting the same error using LimeWire 1.7 on Mandrake 8, JRE 1.3.1. Any assistance in getting LimeWire working would be greatly appreciated. - Stealth Dave |
Still no resolution? Im having the same problem. |
Me too same junk on my RedHat 7.2 box |
well, you have to have the location of jre in your $PATH shell variable. that should take care of some of your problems. Otherwise, I've found that running limewire from a directory other than the directory where runlime.sh is located causes problems (running it from a menu item, or a symlink in /usr/bin, etc). I haven't had a chance to figure out how to fix that, but it seems from the docs that there's something you can do to runlime.sh and your jre configuration to alleviate this problem. |
Since everyone is having the same problem, why dont we let Limwire fix it or provide a solution? |
I also have the same problem with my RedHat 7.2 and jre1.3.1_01 I've tried with PATH and CLASSPATH set to /usr/local/java/jre1.3.1_01/lib. I've put e set -x in the LimeWireLinux.bin shell & seen that the right value are put. Maybe there anything special to do during jre setup ?? |
Set the classpath to /usr/local/java/jre1.3.1_01/lib/rt.jar and try again. If it still doesn't work, try the version without installer (or try editing the installer with a simple texteditor). |
I've tried this John. On Sun web site I've just found this which could be an explanation -> Note concerning Red Hat 7: The Java 2 Runtime Environment v1.2.2 will not work with Red Hat 7. Users who want to run the Java 2 Runtime Environment on Red Hat 7 can try using new version Java 2 Runtime Environment v1.3.0 for Linux. The Java 2 Runtime Environment v1.3.0 was tested on Red Hat 6.1 and is not officially supported on Red Hat 7, but there are no known problems with running the Java 2 Runtime Environment v1.3.0 on Red Hat 7 as long as the Classic VM is not used. So, someone know what means "as long as the Classic VM is not used" ?? |
Nope, if that was the problem you would get a segfault instead of a ClassNotFoundException which is typical for a faulty classpath. |
Got it working Hi After some playing and reading around about this: 1.) JDK or JRE must be installed. I installed SUN's jdk1.3.1_01 (no go with jre 1.3.1, but please, somebody verifies this..) 2.) after installation of JDK/Jre, check IN A SHELL-WINDOW, which version of Java/jre really gets executed. Do this by typing java -version (if something like command not found gets displayed, adjust PATH to contain the directory where Java/JDK has been installed (type PATH=/usr/lib/jdk1.3.1_01/jre/bin:$PATH;export PATH in THE SAME shell-window, check again which java -version is found and then RE-INSTALL Limewire in THE SAME shell-window AGAIN. Afterwards, adjust your PATH in .profile or .bashrc :) |
here is how it works Using Mandrake 8.1 I do everything as root here... I downloaded the Newest JDK from java.sun.com (1.3) it comes in a .bin file, chmod it to 777 then install it. I then went into the /root/.bashrc file and added the path to the bin to it "/java/jdk1.3.1_01/bin" then at the command line type . .bashrc to reload it. then type java in a terminal, if the path works you should see it, if it didn't it will tell you it didn't find it. then download Limewire, I installed it using all default setting which included the install directory of /root/LimeWire...the first time I tried to change that to /var/Limewire and it wouldn't work. So stick with the default settings. then just go into the /root/LimeWire Directory and type ./LimeWire18c and it should start right up Hope this helps |
RH7.1 Using RH7.1 At first I got the NoClassFound... message in java... (I had jdk1.2.2) then I: - Install the new jre1.3.1_1 - adjust the PATH correctly - reinstall Limewire now a get: $ LimeWire18c /home/matias/bin/LimeWire18c: line 1: 2970 Segmentation fault "/usr/local/jre1.3.1_01/bin/java" -Xmx100000000 -Xms20000000 com.zerog.lax.LAX "/home/matias/LimeWire/LimeWire18-c.lax" "/tmp/env.properties.2908" What can I do now?? |
http://forums.gnutelliums.com/showth...?threadid=5351 The fix for that problem has already been posted. |
prob hello. i have a similar problem with my limewire. that's the message which appears on startup: STARTUP ERROR Java version 1.2.2 from Sun Microsystems Inc. Linux v. 2.2.16 on i386 Free/total memory: 11202784/20000760 java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: javax/sound/sampled/Line at com.limegroup.gnutella.gui.mp3.MediaPlayerComponen t.<init>(MediaPlayerComponent.java:56) at com.limegroup.gnutella.gui.StatusLine.<init>(Statu sLine.java:101) at com.limegroup.gnutella.gui.MainFrame.<init>(MainFr ame.java:127) at com.limegroup.gnutella.gui.GUIMediator.<init>(GUIM ediator.java:110) at com.limegroup.gnutella.gui.GUIMediator.instance(GU IMediator.java:219) at com.limegroup.gnutella.gui.Initializer.initialize( Initializer.java:97) at com.limegroup.gnutella.gui.Main.main(Main.java:17) at java.lang.reflect.Method.invoke(Native Method) at RunLime.main(RunLime.java:77) at java.lang.reflect.Method.invoke(Native Method) at com.zerog.lax.LAX.launch(Unknown Source) at com.zerog.lax.LAX.main(Unknown Source) hope someone can help me ,too. greetz rene |
Re: here is how it works Quote:
please post your .bashrc, cause i really get sick of this damn java-path. |
All times are GMT -7. The time now is 01:41 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.