LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2009, 03:11 AM   #1
addux
Member
 
Registered: Dec 2006
Location: In the middle of the ocean.
Distribution: Ubuntu 12.04, Debian Squeeze, Windows 7
Posts: 67

Rep: Reputation: 16
Installing LimeWire with user privileges


This is a nublie tutorial for a problem a ran into multiple times when 'installing' LimeWire Basic.

I am trying to get out of the habit of installing programs with apt-get requiring (for install) root privileges when not needed. Not that I don't like apt-get, it's pretty awesome. So a lot of the apps I run at the user level are in my /home/me/apps folder. It can make things a little more complicated, but with programs such as firefox, thunderbird, LimeWire, jre..etc. it isn't too bad. Also, I use this as only a personal desktop computer...

so I have jre1.6.0_11 unpacked in my /home/me/apps folder along with LimeWire. My problem is that when I execute ./runLime.sh I get an error like this:

OOPS, unable to locate java exec .....

This shouldn't be happening (since I have java installed in /usr/bin/java). So I decided to point runLime.sh to jre1.6.0_11 in my home folder and here is how.

vim runLime.sh (showing only the needed portion):

"....

look_for_java()
{
JAVADIR=/usr/bin
if look_for_javaImpl ; then
return 0
fi
JAVADIR=/usr/lib
if look_for_javaImpl ; then
return 0
fi
JAVADIR=/usr/java
if look_for_javaImpl ; then
return 0
fi
JAVADIR=/opt
if look_for_javaImpl ; then
return 0
fi
return 1
}


....."

even though I have a valid java exec. in /usr/bin, every time I have tried to run LimeWire it never finds this. So I completely removed the aforementioned section from the shell script and replaced it with:

"......

JAVA_PROGRAM_DIR=/home/me/jre1.6.0_11/


...."


Simple problem I know but it took me a minute to figure out and the problem occurred on multiple unrelated occasions. This works for me.

I guess I should also add the reason I like using the jre1.6x as apposed to the 'apt-get installed' java V1.5x, is the problem I had with java and compiz. With java V1.5x the contents in the Limewire window would not be drawn rendering LimeWire non-functional while running compiz. This hasn't happened with jre1.6x
 
Old 01-05-2009, 09:43 PM   #2
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
Just incase you cant figure it out ..theres frostwire..basically open source version of limewire..
http://www.frostwire.com/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
super user privileges check for a normal user in bash script freeindy Programming 2 08-01-2008 06:08 AM
privileges user AIX122 AIX 2 02-28-2008 10:49 PM
Root privileges for user ar1 Linux - Security 2 01-07-2005 09:33 PM
User with root privileges ShakyJake Linux - Newbie 2 06-18-2004 12:12 PM
user privileges rieta Linux - Newbie 9 08-29-2002 11:48 AM


All times are GMT -5. The time now is 12:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration