Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Limewire 1.7 and SuSE linux 7.2 (https://www.gnutellaforums.com/general-linux-support/3868-limewire-1-7-suse-linux-7-2-a.html)

Unregistered September 22nd, 2001 10:18 AM

Limewire 1.7 and SuSE linux 7.2
 
ive got limewire 1.7 and SuSE linux 7.2, it all installed ok when i ran the command "sh LimeWireLinux.bin" and it all installed, but now when i run limewire it says that its got a fault and shows this message

java.lang.NoClassDefFoundError: javax/swing/JTextArea
at com.limegroup.gnutella.gui.cr.<init>(cr.java:52)
at com.limegroup.gnutella.gui.cr.<init>(cr.java:43)
at com.limegroup.gnutella.gui.bo.<init>(bo.java:112)
at
at
at com.limegroup.gnutella.gui.Main.main(Main.java:16)
at com.zerog.lax.LAX.launch([DashoPro-V1.2-120198])
at com.zerog.lax.LAX.main([DashoPro-V1.2-120198])


has any body got any ideas about what this could be?

Unregistered September 24th, 2001 06:31 AM

Exacly the same here! Exact the same config........

Hope somebody will help us
Nico

Unregistered September 24th, 2001 04:30 PM

Same Here!

twist September 25th, 2001 12:22 AM

LimeWire 1.7 and SuSE Linux 7.2
 
Well, I assume you've all used the installer and you've all got a JRE or SDK 1.3.1. If you're unsure which version of Java you have open a terminal and type:

java -version

If you see a 1.3.1 in there, you're looking good. If you don't have 1.3.1 you'd better get it. :-) The 'Running LimeWire under SuSE' has advice on installing Java on SuSE:

http://www.gnutellaforums.com/showth...&threadid=3585

I don't know much about the SuSE distro specifically so I don't know why this is an issue. I can install LimeWire with the installer and run it okay on my RedHat 7.1, Java SDK 1.3.1 system.

The problem is that Java is looking for some classes (javax/swing/JTextArea etc) and can't find them. Specifically it's looking for the Swing classes. Swing is like a toolkit that Java developers use to develop the graphical interface to their programs. Java should already know where they are, but it seems it doesn't. We'll tell Java specifically where to find the swing classes.

Now, because you used the installer we can probably just edit the LimeWire17.lax. Try this:

1. Open LimeWire17.lax in your favourite text editor. It's in the LimeWire17 directory.

2. Go to the LAX.CLASS.PATH section of the file. It's near the top of the file.

3. Now, see that 'swing.jar' entry in the lax.class.path= string? Change that and only that to: /usr/java/jdk1.3.1/jre/lib/rt.jar

NOTE: /usr/java/jdk1.3.1 is the java directory on my system. Your system may be different! You must find out where jre/lib/rt.jar is on your system. Try the locate command. Open a terminal and type: locate rt.jar

4. Save the file and that should be it.

rt.jar contains the Java runtime classes. Swing is included. That will maybe work. It works on my system but as I said, LimeWire works with the default installation on my system anyway.

If you get more errors about classes not being found, the same principle applies. You just have to figure out in which directory or in which .jar file that class is hiding and then add that location on the end of the lax.class.path string. Make sure you seperate each entry with a colon.

Anyway, try the steps outlined above first and let me know if it works. :-)

Unregistered October 2nd, 2001 06:14 AM

now there's another problem
 
I have done all the things you said:
I've got the newest jre-1.3.1_01 and I changed the LimeWire.lax file.
now I have a new problem: when I type ./LimeWire17 there comes the following message:
computer:~/LimeWire17 > ./LimeWire17
SIGSEGV 11* segmentation violation

Full thread dump:
Monitor Cache Dump:
Registered Monitor Dump:
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: <unowned>
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Dynamic loading lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Monitor registry: <unowned>
Thread Alarm Q:
./LimeWire17: line 1: 5979 Abgebrochen "/usr/lib/jdk1.1.8/bin/jre" -mx100000000 -ms20000000 -cp "/home/zimon/LimeWire17/./collections.jar:/home/zimon/LimeWire17/./LimeWire.jar:/usr/java/jre1.3.1_01/lib/rt.jar:/home/zimon/LimeWire17/./lax.jar" com.zerog.lax.LAX "/home/zimon/LimeWire17/./LimeWire17.lax" /tmp/env.properties.5934

then there is the prompt again. what else is to do to make the programm running?
thanks

Unregistered October 2nd, 2001 10:56 AM

i have also the same problem!

twist October 3rd, 2001 03:34 AM

./LimeWire17: line 1: 5979 Abgebrochen "/usr/lib/jdk1.1.8/bin/jre"

That part looks significant. It seems as well as the lastest JRE you have an old JDK installed, 1.1.8. Unless you really need it, I suggest you remove it. It seems that LimeWire is using this version of java instead of the 1.3.1 version. This explains why the Swing classes weren't being found (the Swing classes are new, relatively speaking).

Remove the old JDK and try again. Make sure you add the Java 1.3.1 bin directory to your PATH variable. Additionally, you shouldn't need to include the changes in the lax file now either. Java should find rt.jar by itself.

Unregistered October 9th, 2001 11:18 AM

SuSe 7.2 installation of LimeWire 1.7
 
SuSE 7.2 comes with java 1.1.8. This version is obsolete, but it is the last JDK that can be redistributed by third parties.
You have two alternatives: install IBM's JDK 1.3.0 which is included in the SuSE distribution, or download Sun's JDK 1.3.1 or higher. I have installed 1.4.0beta2 and it works.
After installing a new JDK, become root and re-link '/usr/lib/java' to where your JDK has been installed.
Example:
mv /usr/lib/java /usr/lib/java1.1.8
ln -s /opt/j2sdk1.4.0 /usr/lib/java
Now you got rid of all 1.1.8 stuff. Also you could have removed the 1.1.8 with Yast2.
Then type 'java -version' and voila. Now you can download LimeWire, and install.

Cheers, Jörg


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.