LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-27-2005, 09:53 AM   #1
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
LimeWire and Desktop Icon on MDK 10.1


I have Limewire version 4.1.8 and Java JRE1.5.0_02 installed. I can start LimeWire from konsole by entering sh ./runLime.sh. The program runs, and I can download files. I wanted to make a desktop icon to click on, rather than launch konsole and do the typing.

I can not get LimeWire to launch from the icon. Here is the command I have :

'/home/cliff/limewire/LimeWire/runLime.sh'

Here is the error I get when I click on the icon :

Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.5.0_02]
Configuring environment...
Loading LimeWire:
Unable to access jarfile LimeWire.jar

******************************************************************
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_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing

It appears java can not find the LimeWire.jar file, but why? It finds it when I lauch from konsole, but not the icon.
 
Old 04-27-2005, 06:00 PM   #2
oshunluvr
LQ Newbie
 
Registered: Jan 2005
Location: long beach, ca
Distribution: Kubuntu "Jaunty" 9.04 x86_64
Posts: 19

Rep: Reputation: 2
pro

I have Limewire pro and it installed itself with an icon in the menu with the only entry was...

under "command" /usr/bin/limewire

it launches just fine. I am using java 1.4.2 and limewire 4.8.1
 
Old 04-27-2005, 06:56 PM   #3
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Arch
Posts: 452

Rep: Reputation: 35
Check your limewire folder and make sure you can access it as a normal user. You may have it set that only root has ownership and can access the folder. Also set the tick mark to apply to all folders and there content
 
Old 04-28-2005, 09:58 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I installed LimeWire Basic for "other" distributions. I downloaded a .zip file. To install, all I did was use Ark to unpack the files preserving sub-directory information. This is quite different than installing from a .bin file. I was on the LimeWire forum looking for a solution, but found nothing worth while. For some reason I don't understand, the developers have changed the install process.

The command limewire form the installed directory produces a "command not found" error. With this code there is no limewire executable present. The readme states type "sh ./runLime.sh" to launch, and that works. The Pro version must be different.

I also made sure the folder and subdirectories permissions are O.K.

As I see it, this looks like a java error, it can't access the limewire.jar file, even though it is in the same directory as the runlime.sh file.
Is there some java configuration I need to do? I have seen references to classpath in other posts, but it is beyond me at this point.
 
Old 04-28-2005, 03:34 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I found a fix. I created a script file to start runLime.sh. Here is the script that works for me. I placed it in my /home/cliff directory and marked it executable and selected an icon for the desktop. Any one else could copy and edit the paths for java and limewire installation.

#!/bin/sh

# tell it where your jre is
PATH=$PATH:$HOME/bin:/usr/java/jre1.5.0_02/bin
export PATH

#set this var (like runlime.sh)
J2SE_PREEMPTCLOSE=1
export J2SE_PREEPMTCLOSE

# move to where runlime.sh can be found
cd /home/cliff/limewire/LimeWire
sh ./runLime.sh

Hope this helps someone else.
 
  


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
running limewire from fluxbox menu or desktop icon tuneout Linux - Software 2 08-15-2005 07:58 AM
yet another limewire install question w/mdk 9.1 jamesgf Linux - Software 3 07-21-2005 03:01 PM
Single click on Limewire icon opens it twice? newtwolinux Linux - Newbie 1 05-25-2005 04:06 PM
Limewire tray entry has no icon hand of fate Linux - Software 1 03-24-2005 08:14 PM
Finding a suitable icon for LimeWire zztopping Linux - Software 6 07-21-2002 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 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