LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problem with limewire (https://www.linuxquestions.org/questions/slackware-14/problem-with-limewire-325427/)

c_olin3404 05-20-2005 01:25 PM

problem with limewire
 
I downloaded the LimeWire.rpm file, then i did the following:

------------------------------------------------
bash-3.00# rpm2tgz LimeWireLinux.rpm
bash-3.00# installpkg LimeWireLinux.tgz
Installing package LimeWireLinux...
PACKAGE DESCRIPTION:

bash-3.00# limewire
sh: runLime.sh: No such file or directory
------------------------------------------------


What did I do wrong?

gbhil 05-20-2005 02:10 PM

looks like a PATH error
try
source /etc/profile
then runlime.sh

but - you should never run an internet application as root!

cereal83 05-20-2005 03:05 PM

Can you download the source and compile it from source? Might be better.

I dunno though

Lim45 05-20-2005 03:07 PM

I installed Limewire the same way through rpm2tgz, and it'll work by simply typing "limewire" (minus quotes) in the "run" command box or in the terminal.

Takes a little while to load up on my oldish box, but works very well.

c_olin3404 05-20-2005 03:29 PM

I tried not runnign it as root and i get the same problem:

c_olin@localhost:~$ limewire
sh: runLime.sh: No such file or directory


Any suggestions?

Boow 05-20-2005 03:38 PM

Did it install to your home directory cd Limewire ./runLime.sh

c_olin3404 05-20-2005 05:03 PM

This might explain:

-------------------------------------
bash-3.00# whereis LimeWire
LimeWire: /usr/lib/LimeWire
bash-3.00# cd /usr/lib/LimeWire
bash-3.00# ls
COPYING LimeWire.jar
-------------------------------------

shouldn't runLime.sh be in that folder?

any ideas at all?? :(

c_olin3404 05-20-2005 10:00 PM

Can anyone help me here? I realy need to get this up and running

gbhil 05-20-2005 11:48 PM

give us the output of the following commands run as a user (not root)

Code:

slocate runlime.sh
if you have slocate set up, or
Code:

which runlime.sh
if you don't

and
Code:

java -version
Java must be in your PATH for runlime.sh to work. It should be, but the second command will tell for sure. If it gives you a version information, it's in your PATH. If it doesn't, thats a whole new problem for a new post.

Once you get the actual location of runlime.sh, you can symlink it like so:
Code:

ln -sf /path/to/runlime.sh /usr/local/bin/runlime.sh


or just grab gtk-gnutella http://prdownloads.sourceforge.net/g...r.bz2?download
and
Code:

./Configure
press enter for all questions, the defaults are fine
Code:

make
Code:

su -c make install
gtk-gnutella connects to the same gnutella network as LimeWire, is open source, isn't a crummy Java app, is free, and is very easy to use.

c_olin3404 05-21-2005 12:24 AM

err, i dont have java :(

wierd, I installed Slackware with all packages. How do I enable java?

(when i run java -version it says 'bash: java: command not found')

gbonvehi 05-21-2005 12:36 AM

Check if you've installed a package called j2sdk, this is Java 2 Software Development Kit and includes the JRE Java Runtime Enviroment which is what you need to run Java programs. If you do, then you've Java installed, maybe it's not on the PATH. If you do, then add to your ~/.profile file a line like: PATH=$PATH:/usr/lib/jdk1.5.0_01/bin/

c_olin3404 05-21-2005 12:47 AM

I guess this proves I do have it...

------------------------------------------------------------
bash-3.00# whereis java
java: /usr/lib/java /usr/include/java /usr/share/java
------------------------------------------------------------

I'm stumped :|

jong357 05-21-2005 02:37 AM

It sounds like your LimeWire directory is screwed up. If you only have 2 files in there, it must be.

Code:

[root@jaguar /usr/lib/LimeWire] ls
clink.jar              libIdleTime.so            README.txt
commons-httpclient.jar  libtray.so                root
commons-logging.jar    limewire-16.png            runLime.sh
COPYING                limewire-32.png            SOURCE
daap.jar                limewire-48.png            spacer.gif
data.ser                Limewire.desktop          themes.jar
hashes                  LimeWire.jar              tritonus.jar
i18n.jar                Limewire.mandrake          update.ver
icu4j.jar              logicrypto.jar            vorbis.jar
id3v2.jar              looks.jar                  xerces.jar
jcraft.jar              MessagesBundle.properties  xml-apis.jar
jdic.jar                MessagesBundles.jar        xml.war
jl011.jar              mp3sp14.jar
jmdns.jar              ProgressTabs.jar

It's really not kidding. It can't find 'runLime.sh' because it's not there... Re-download the rpm file from their web site and convert it again... Something screwy must have happened somewhere... I downloaded the rpm file and converted it and it has all that stuff in there for me...

And I think Pat quit using Java SDK.. You should have j2re installed, not j2sdk, depending on which version of Slack your running. Either one will work tho.

gbhil 05-21-2005 11:52 AM

Code:

~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.

try echo $PATH on your box and compare. /usr/lib/java/bin and /usr/lib/java/jre/bin are the important bits for this problem.

Then reference jong357's post about incomplete install of LimeWire.

brokenflea 05-21-2005 02:28 PM

i had the same problems with limewire, just go to

http://www.linuxpackages.net

and search for the limewire package, download it and install it with the installpkg command in the CLI.
it should get it up and running.

lee8oi 03-21-2006 03:05 PM

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.

Maxwell Rain 10-18-2006 09:28 AM

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.

trebek 02-05-2007 07:52 AM

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!

rworkman 02-06-2007 04:49 PM

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.

jong357 02-07-2007 09:12 AM

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.

trebek 02-07-2007 11:02 AM

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.

koriel 02-22-2007 01:21 AM

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

Michielvw 02-22-2007 07:15 AM

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

This will repackage Limewire as a neat and working slackware package

jong357 02-22-2007 05:06 PM

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


Rollo69 05-04-2007 08:01 PM

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. :twocents:

Maybe this will help someone else out like you guys did for me...

Boow 06-25-2007 10:54 PM

Why run limewire with its nagging you to by the pro version google frostwire


All times are GMT -5. The time now is 03:45 PM.