![]() |
|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
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 |
| |||
![]() 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. |
| ||||
![]() 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. :-) |
| |||
![]() 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) |
| |||
![]() 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. |
| |||
![]() 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!:-) |
| ||||
![]() 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. |
| |||
![]() 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! |
![]() |
| |
![]() | ||||
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 |