LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-21-2006, 03:05 PM   #16
lee8oi
LQ Newbie
 
Registered: Dec 2004
Distribution: slackware
Posts: 1

Rep: Reputation: 0

Ok Simple solution guys. Heres the answer straight from my simple mind. I have Gentoo, and I use blackdown-jre. well...."java" is actually in /opt/blackdown-jre-<version>/bin. So what I did was

$> ln -s /opt/blackdown-jre<version>/bin/java /usr/bin/java

wha'La! the java command exists, and limewire started up. *bows* thangu thangu.
 
Old 10-18-2006, 09:28 AM   #17
Maxwell Rain
Member
 
Registered: Apr 2004
Distribution: Ubuntu Feisty Fawn & Mandrake 2006.0 Free Edition
Posts: 31

Rep: Reputation: 15
Another very easy install is :

1. download the .zip-file from the limewire download page
2. Unzip it
3. make sure that the file runLime.sh points to the correct java directory (edit it with emacs/kwrite/... . It tries to look for java in /usr/java, but my java is in /usr/local/java, so I had to change that manually)
4. run runLime.sh

Works for me anyway.
Good luck.
 
Old 02-05-2007, 07:52 AM   #18
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Rep: Reputation: 30
Hello. First off, i am using Slack 11, kernel 2.6.17.13. I got x and the nvidia drivers working. My java version is 'java version "1.5.0_09"' (i type java -version and that's what i get).

So, that's my current config, but i get this error when running the runLime.sh script:
Code:
Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.5.0_09]
Configuring environment...
Loading LimeWire:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
        at java.awt.Window.<init>(Window.java:317)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at com.limegroup.gnutella.gui.AWTSplashWindow.splash(AWTSplashWindow.java:143)
        at com.limegroup.gnutella.gui.Main.showInitialSplash(Main.java:71)
        at com.limegroup.gnutella.gui.Main.main(Main.java:39)

******************************************************************
Something went wrong with LimeWire.
Maybe you're using the wrong version of Java?
(LimeWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode, sharing)
Now, it says there that it has found a suitable java version for limewire to work with, but, says that No X11 DISPLAY variable was set. So, i guess the problem narrows down to this. At the end, the error says that perhaps i am using the wrong version of java, but if you look into runLime.sh, that's only some hard coded text that is being displayed. It doesn't necessarily mean that this is the problem.

Please let me know what else you need to help me, or if i've given the right info, then that's cool and you should be able to help me out.

Thanks in advance, as always, LQ rules!

Last edited by trebek; 02-05-2007 at 04:59 PM.
 
Old 02-06-2007, 04:49 PM   #19
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Go here: http://www.slackbuilds.org/repository/network/LimeWire/
Follow instructions: http://www.slackbuilds.org/howto/
Install resulting package.
Run LimeWire. A wrapper script to start it correctly is install to /usr/bin, and a menu entry is created to run it from your desktop if desired.
 
Old 02-07-2007, 09:12 AM   #20
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I doubt that's going to help.. He's executing runLime.sh just as the wrapper script would. Seems to be a java problem... If you google for your error, some other people are having the same problem. Your best bet would be to post on the limewire forums. That's probably what I would do.

What version of Limewire are you running? Try using the stable 4.12.6 if your not. I suppose you could also try robw810's suggestion just for sh@t's and giggles but I fail to see how that will fix anything. As long as your cd'ing into the limewire folder and then doing a "sh runLime.sh" or a "./runLime.sh", your doing it the only way you can.

I hate to ask such a stupid question but, you do have X running when you try to start limewire, right? The error indicates that java can't communicate with the X server in order to open the initial Limewire splash screen. Then it keeps trying to open up the rest of the program and fails at that too.

Quote:
Originally Posted by SUN MICROSYSTEMS

java.awt.HeadlessException

Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.
That tells me either you don't have X running or something is wrong with your X environment. Probably has nothing to do with limewire OR java.

Last edited by jong357; 02-07-2007 at 09:28 AM.
 
Old 02-07-2007, 11:02 AM   #21
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Rep: Reputation: 30
Well, your question's fine. Yes, i do have X running. I have installed kopete and looking forward to install xine. I even had the nvidia driver installed after having it give a hell of a battle. I'll try an older version of java and then drop down on limewire too, just in case. Thanks dudes.
 
Old 02-22-2007, 01:21 AM   #22
koriel
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0
same problem - simple solution

Well I had the same problem and error running limewire and what I did was to execute the jar file from the limewire directory

Code:
java -jar limewire.jar
and limewire is working fine now...hope works for u too
 
Old 02-22-2007, 07:15 AM   #23
Michielvw
Member
 
Registered: May 2005
Location: Leicester,UK
Distribution: Slackware
Posts: 108

Rep: Reputation: 19
The SlackBuilds.org project also has a slackbuild for Limewire:

This will repackage Limewire as a neat and working slackware package
 
Old 02-22-2007, 05:06 PM   #24
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Good idea koriel... Then you've just determined that's it's a problem with runlime.sh, which is just a wrapper script as well.

Quote:
Originally Posted by BlackPanther
The SlackBuilds.org project also has a slackbuild for Limewire:

This will repackage Limewire as a neat and working slackware package
This still won't fix the error. Taken from the SlackBuild you posted:

Code:
mkdir -p $PKG/usr/bin
cat << "EOF" > $PKG/usr/bin/$PRGNAM
#!/bin/sh
cd /opt/LimeWire
./runLime.sh
EOF
 
Old 05-04-2007, 08:01 PM   #25
Rollo69
Member
 
Registered: Sep 2005
Location: Charlotte, NC
Distribution: Slack 12.0
Posts: 190

Rep: Reputation: 30
Limewire problem in slackware

Thanks a lot ppl... I had the same issue as c_olin, my java wasn't found. I got limewire package from linuxpackage.net and installed it using pkgtool. Then I had to alter the runLime.sh and under look_for_java(). I made sure /usr/bin was a path
JAVADIE=/usr/bin
which is what Maxwell Rain suggested. Then I found my /path/to/jre<version>/bin/java because that the java I have loaded in slack 10.2 and did what leeBoi did
<root>: ln -s /path/to/jre<version>/bin/java /usr/bin/java
I complete the above task as a user and su'd to root when needed. My limewire directory was in /usr/share.

Maybe this will help someone else out like you guys did for me...
 
Old 06-25-2007, 10:54 PM   #26
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Why run limewire with its nagging you to by the pro version google frostwire
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange limewire problem Maverick1182 SUSE / openSUSE 3 10-25-2005 05:20 AM
LimeWire problem retry Linux - Software 2 04-27-2005 10:01 AM
limewire problem matrixon Linux - Software 3 03-06-2005 03:53 AM
problem with limewire pablowablo Linux - Software 0 08-05-2004 11:00 PM
limewire and java problem pyropenguin Linux - Software 4 09-16-2002 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration