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 November 12th, 2001
Unregistered
Guest
 
Posts: n/a
Unhappy Can not start Limewire (Mandrake8.1 JDK1.3.1_01)

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

Stack Trace:
java.lang.NullPointerException
at com.limegroup.gnutella.util.CommonUtils.<clinit>(C ommonUtils.java:119)
at com.limegroup.gnutella.SettingsManager.<clinit>(Se ttingsManager.java:106)
at com.limegroup.gnutella.gui.ResourceManager.<clinit >(ResourceManager.java:68)
at com.limegroup.gnutella.gui.Initializer.<init>(Init ializer.java:82)
at com.limegroup.gnutella.gui.Initializer.<clinit>(In itializer.java:42)
at com.limegroup.gnutella.gui.Main.main(Main.java:17)
at java.lang.reflect.Method.invoke(Native Method)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Reply With Quote
  #2 (permalink)  
Old November 15th, 2001
Unregistered
Guest
 
Posts: n/a
Default

I used Sun's J2SDK 1.4.0 beta 3. You must be sure to make sure your Java classpath is set correctly. Also, you MUST run LimeWire from the directory it is installed in (it took me two weeks to get it working.

I created a small file I can use to start it...in my home directory I have a file with contents...

cd LimeWire; sh ./runlime.sh

Hope that helps...

lloyd.osten@accesscomm.ca
Reply With Quote
  #3 (permalink)  
Old November 15th, 2001
Unregistered
Guest
 
Posts: n/a
Default

One thing you should do first is uninstall kaffe if you haven't done so already. It didn't work at all with kaffe installed..nothing but errors


I believe I used the tgz version of Limewire.

lloyd.osten@accesscomm.ca
Reply With Quote
  #4 (permalink)  
Old November 17th, 2001
Unregistered
Guest
 
Posts: n/a
Default same problem on mandrake 8.1

I'm getting the exact same problem as the original poster. I'm running mdk8.1 and have jre1.3.1_01 installed. Kaffe is totally gone from my system but I'm still getting these errors on launch. I set paths everywhere but no dice.
Reply With Quote
  #5 (permalink)  
Old November 25th, 2001
Unregistered
Guest
 
Posts: n/a
Default

I've exactly the same problem as first poster.

Unfortunately, nothing constructive to add.
Reply With Quote
  #6 (permalink)  
Old November 25th, 2001
John Blackbelt Jones's Avatar
Gnutella Veteran
 
Join Date: November 11th, 2001
Location: Germany
Posts: 103
John Blackbelt Jones is flying high
Default

You need to have the following items in your classpath, or Limewire won't work. Put them into your LimeWire.lax (if they aren't already there) and try to use the static path.

.../LimeWire/swing.jar
.../LimeWire/LimeWire.jar
.../LimeWire/jl011.jar
.../LimeWire/collections.jar
.../LimeWire/xerces.jar
.../LimeWire/lax.jar
.../LimeWire/
/usr/lib/java/lib/rt.jar (or wherever your class lib is on your computer)

If it still doesn't work try starting LimeWire directly with the command:

java -classpath swing.jar:LimeWire.jar:.....:. com.limegroup.gnutella.gui.Main

note that LimeWire will work then, but some features may not be accessible.
Reply With Quote
  #7 (permalink)  
Old November 25th, 2001
Unregistered
Guest
 
Posts: n/a
Default

Tried everything. About to give up. No hope. Back to windows. Billy-Bob Gates owns my soul. Its not worth this much frustration just to download a few songs.
Reply With Quote
  #8 (permalink)  
Old November 25th, 2001
Unregistered
Guest
 
Posts: n/a
Default

I've tried running the following from the command prompt:

java -classpath swing.jar:LimeWire.jarblahblahblah.jar). com.limegroup.gnutella.gui.Main

I get the error java: command not found

Any ideas?
Reply With Quote
  #9 (permalink)  
Old November 25th, 2001
John Blackbelt Jones's Avatar
Gnutella Veteran
 
Join Date: November 11th, 2001
Location: Germany
Posts: 103
John Blackbelt Jones is flying high
Default

yes, check where your '.java_wrapper' is and create a symlink named 'java' in your /usr/bin directory. Java wasn't found in your PATH.
Reply With Quote
  #10 (permalink)  
Old November 28th, 2001
Unregistered
Guest
 
Posts: n/a
Default What I had to do...

Here is my runlime.sh
It works from anywhere
------------------------------
#!/bin/sh
#
# Runs LimeWire. This script must be executed in your LimeWire
# install directory.
#
# We must set the J2SE_PREEMPTCLOSE environment variable to 1 to
# work around some limitations in the JDK1.3. For more information
# see http://java.sun.com/j2se/1.3/relnotes.html#vm
#
J2SE_PREEMPTCLOSE=1; export J2SE_PREEMPTCLOSE

#replace with your LimeWire directory
limewire_dir=/home/roman/LimeWire

cd $limewire_dir

#this is all one line
/usr/java/jdk1.3.1/jre/bin/java -classpath $limewire_dir:$limewire_dir/RunLime.jar:$limewire_dir/LimeWire.jar:$limewire_dir/collections.jar:$limewire_dir/jl011.jar:$limewire_dir/lax.jar:$limewire_dir/xerces.jar com.limegroup.gnutella.gui.Main
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
Can LimeWire work with SDK 1.3.1_01? Dslagowitz Windows 1 January 6th, 2003 10:51 PM
Java2 v1.4.1_01 released! Over 2000 bugs fixed (everyone should upgrade!) javaguru General Gnutella / Gnutella Network Discussion 0 October 29th, 2002 02:45 AM
Java2 v1.4.1_01 released! Over 2000 bugs fixed (everyone should upgrade!) javaguru General Discussion 0 October 29th, 2002 02:45 AM
JRE 1.3.1_01 and LimeWire execute Command hypnos General Linux Support 1 September 29th, 2001 06:03 AM
mandrake8.0: No Java virtual machine could be found... headhunterhome General Linux Support 6 September 25th, 2001 07:57 PM


All times are GMT -7. The time now is 09:36 AM.


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.