![]() |
|
|||||||
| Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
| General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.) |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have installed Sun's JRE, it was linked to on the LimeWire download page. I installed it, I didn't see any error messages. However, when I run the LimeWire install shell script, it comes up with this:
Preparing to install... Error: could not find Java 2 Runtime Environment. |
|
#2
|
|||
|
|||
|
Sounds to me like you don't have your PATH set.
You need to find out where the Sun JRE was installed (sorry, I'm using IBM's since Sun's doesn't work right with Konqueror) and then add that directory to your Path. |
|
#3
|
|||
|
|||
|
Try the command echo $PATH
Mine looks like this: $ echo $PATH /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/sbin:/usr/java/jre1.3.1_02/bin If java isn't set in your $PATH it won't run. Edit the .bashrc file thus: # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi PATH=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games:/usr/sbin:/usr/java/jre1.3.1_02/bin ========== So simply add /usr/java/jre1.3.1_02/bin Note the colons separating each path! |
|
#4
|
||||
|
||||
|
Yes, that's how you need to set your PATH. However, if you're using a newer version of KDE, you're going to find that it won't respect any of the PATH settings in your ~/.bash_profile, so you'll lose it every time you reboot. Here's a workaround.
As root, you need to set up a symbolic link to java. For my (IBM) Java, I'd use: # ln -s /opt/IBMJava2-13/jre/bin/javaw /usr/bin/java # chmod a+x /usr/bin/java If you are using a different java, then just enter what you would have entered into PATH, but instead of stopping at /bin use /bin/java_wrapper |
|
#5
|
|||
|
|||
|
I'm a newbie running Mandrake 8.1. Is there a "really" easy way for me to install LimeWire - or correct the path to Java (you guys are talking a little over my head).
I typed in the above on my PC - but still can't install LimeWire (I'm clearly missing something here). Otherwise, I guess I could wait until Mandrake 8.2 comes out.... Thanks |
|
#6
|
|||
|
|||
|
I downloaded the newest JDK (1.4) RPM from Sun. When I installed the RPM on my system (which happens to be Mandrake 8.1) it seemed to update my PATH for me. All previous versions did not do this. So if you are a newbie, download the Sun JDK 1.4 RPM and install it, it might work for you too.
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with mandrake 10 install please | nerdsac | General Linux Support | 0 | January 5th, 2005 05:32 AM |
| Install on Mandrake | stimulantdesignscom | General Linux Support | 9 | December 19th, 2004 04:07 PM |
| Install blues on mandrake 9... | Unregistered | General Linux Support | 3 | November 7th, 2002 06:47 PM |
| Mandrake 8.1 install problems | dman123c | General Linux Support | 3 | January 19th, 2002 04:58 PM |
| Cant install in Mandrake 8 | Tae Kwon Do | General Linux Support | 5 | July 30th, 2001 06:54 AM |