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 Calendar Arcade 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
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 25th, 2001
Apprentice
 
Join Date: August 19th, 2001
Posts: 6
John Fox is flying high
Unhappy A different red-hat install problem

I an running KDE 2.1.1 in Red-Hat 7.1 kernel 2.4.3-12.



I have successfully installed Java 1.3.1 as per the instructions on the Sun web site.



When I attempt to run the installation script by using the fiolllowing command:

sh LimeWireLinux.bin



I get the following errors:

Error: Unrecognized JVM specific option `-Xmx50331648'.

Error: Unrecognized JVM specific option `-Xms16777216'.

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)



Stack Trace:

java.lang.NoClassDefFoundError: ZeroGab

at ZeroGr.<init>([DashoPro-V1.2-120198]:line unknown, pc 0x8bd55a4)

at com.zerog.ia.installer.Main.a([DashoPro-V1.2-120198]:line unknown, pc 0x8a85d6a)

at com.zerog.ia.installer.Main.b([DashoPro-V1.2-120198]:line unknown, pc 0x8d99910)

at com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198]:line unknown, pc 0x8403a74)

at java.lang.reflect.Method.invoke(Method.java:native )

at com.zerog.lax.LAX.launch([DashoPro-V1.2-120198]:line unknown, pc 0x82999d6)

at com.zerog.lax.LAX.main([DashoPro-V1.2-120198]:line unknown, pc 0x817c36f)



Any help would be greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old September 26th, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Smile Installation

I have RedHat 7.1 with the Java SDK 1.3.1. I've written up an alternative method of installing LimeWire based on my experiences with it. You can find them at:

http://www.cyberspace.org/~kohl/limewirelinuxhowto.html

The gist of it is that you get the Solaris .tgz distribution of LimeWire and use that instead. Give it a try. :-)
Reply With Quote
  #3 (permalink)  
Old September 26th, 2001
Apprentice
 
Join Date: August 19th, 2001
Posts: 6
John Fox is flying high
Unhappy Made some progress...

After following the instructions supplied by twist, the errors I am getting are not as extreme.

Now when I run the runlime.sh script on the HOWTO page, I get the following error:
java.lang.NoClassDefFoundError: javax/swing/JOptionPane
at RunLime.main(RunLime.java:76)
Reply With Quote
  #4 (permalink)  
Old September 26th, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Question JRE or SDK?

Java is trying to find a Swing class (they're GUI classes for the user interface) and it can't. Which is strange sicne it seems to be finding the other classes. Are you using the JRE or SDK? And did you perhaps have a previous version of Java installed?

Last edited by twist; September 26th, 2001 at 10:26 PM.
Reply With Quote
  #5 (permalink)  
Old September 27th, 2001
Apprentice
 
Join Date: August 19th, 2001
Posts: 6
John Fox is flying high
Unhappy

I have BOTH the JRE and JDK 1.3.1_01 installed.

I tried running it by:

java -cp /usr/java/jdk1.3.1_01:/usr/local/LimeWire RunLime

which gives me:

java.lang.ClassNotFoundException: /usr/java/jdk1/3/1_01:/usr/local/LimeWire
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:52)

I then tried:

CLASSPATH=/usr/java/jdk1.3.1_01:/usr/local/LimeWire; export CLASSPATH
java RunLime

which gives me:

java.lang.NoClassDefFoundError: javax/swing/JOptionPane
at RunLime.main(RunLime.java:76)

I then tried the whole set again pointing to:
/usr/java/jre1.3.1_01:usr/local/LimeWire
and got the same results.

I then tried pointing to:
/usr/java/jre1.3.1:usr/local/LimeWire;
and got the same results again.

I then tried:
find / -name *JOptionPane*
which came up with nothing

I then tried:
find / -name *swing*
which only shows:
/usr/java/jdk1.3.1_01/demo/jfc/Metalworks/HelpFiles/swing.html

Is swing something that I have to download seperately and if so, where do I get it?

Thanks for all of your help.
Reply With Quote
  #6 (permalink)  
Old September 28th, 2001
Unregistered
Guest
 
Posts: n/a
Smile Java fun

Well, for starters you don't need to have both the JDK and the JRE installed. The JDK distribution includes the all the necessary programs and classes to run Java applications as well as the Java development tools. The JRE just includes the programs and classes needed to run Java applications. Since you have both you might as well keep the JDK and get rid of the extra JRE installation. I'll just talk about your JDK in /usr/java/jdk1.3.1_01 for the rest of this post. :-)

On to other things. The reason you couldn't find the classes when you used the find command is that they're all in a .jar file - a java archive. The majority of the Java runtime classes (including the Swing classes) are in:

/usr/java/jdk1.3.1_01/jre/lib/rt.jar

You can (if you're really interested) get a list of all the classes in the rt.jar file with:

jar -tf rt.jar

You'll see that JOptionPane is in there. Though it's better to use:

jar -tf rt.jar | grep JOptionPane

There are *alot* of classes. :-)

Okay, but let's see if we can at least make LimeWire start up.

1. Change to the LimeWire directory
2. Set a classpath like:

CLASSPATH=.:/usr/java/jdk1.3.1_01/jre/lib/rt.jar:LimeWire.jar:collections.jar; export CLASSPATH

3. Now try:

java RunLime

Hopefully LimeWire will appear asking you to configure it. Since it's in /usr/local/LimeWire you won't be able to write any files there as a normal user so just click cancel.

If all that works, edit the runlime.sh script to include the classpath line as above (say after the CONFIG_DIR=~/.limewire line).

Then edit the Last line to be simply: java RunLime

Anyway, give all that a try. Good luck!:-)
Reply With Quote
  #7 (permalink)  
Old September 28th, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Smile One other thing

Man, I idle too much. ;-)

The other thing I forgot to mention was that it's really strange that Java isn't finding the Swing JOptionPane class when presumably it's finding the more fundamental classes like Object. This is why I asked if you had previous version of Java installed. The Swing classes are newish (well, less old that the others ;-) Java classes.
Reply With Quote
  #8 (permalink)  
Old September 28th, 2001
Apprentice
 
Join Date: August 19th, 2001
Posts: 6
John Fox is flying high
Talking

WOW!!!! The last two posts really helped me to figure this puppy out.



Here goes:



After following the instructions of the anonymous post, when I ran java RunLime i got a segfault error that produced a core dump.



I then ran a strings on the core file which revealed that kaffe was running. NOT the JDK!!!



That got me to thinking: how is kaffe running????



I then ran:



which java



This showed me that java was running from /usr/bin (which must be kaffe). Then I knew I was on to something, especially when you guys were thinking that it was odd that it was able to find some classes and not others (the reference made in the second and last messages of this thread)



I am pretty sure the seg fault was probably caused by kaffe getting all mixed up with the JDK, so I removed kaffe with:



rpm -e kaffe.



I then issued a



which java



and viola, I get:

/usr/java/jre1.3.1_01/bin/java



Now, try running:



java LimeWire



after correcting my CLASSPATH to include the necessary .jar files and the configuration screen comes up.



A few final tweaks to my .bash_profile and I am able to start LimeWire with ease.



Thanks for all of your help!
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Problem! HelP! Spookster23 Windows 0 February 2nd, 2007 11:02 AM
? install problem, HELP pepperhead Open Discussion topics 2 October 6th, 2006 02:07 AM
Install Problem HELP! PLEASE! Spookster23 Getting Started Using LimeWire + WireShare 3 August 9th, 2006 11:18 PM
after install problem Crazy_Canuck Windows 2 February 12th, 2006 10:48 AM
Again: Install Problem Will_Munich General Linux Support 5 December 8th, 2004 06:15 PM


All times are GMT -7. The time now is 10:04 PM.


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.