Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-05-2009, 04:11 AM   #1
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 ./ 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 to jre1.6.0_11 in my home folder and here is how.

vim (showing only the needed portion):


if look_for_javaImpl ; then
return 0
if look_for_javaImpl ; then
return 0
if look_for_javaImpl ; then
return 0
if look_for_javaImpl ; then
return 0
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:




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, 10:43 PM   #2
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..


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

All times are GMT -5. The time now is 05:54 PM.

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