SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.