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.)


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 03:39 AM.


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.