Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Mandrake 8.1 Install difficulties! (https://www.gnutellaforums.com/general-linux-support/7420-mandrake-8-1-install-difficulties.html)

Unregistered January 21st, 2002 03:15 PM

Mandrake 8.1 Install difficulties!
 
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.

Unregistered January 22nd, 2002 10:33 AM

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.

Unregistered January 22nd, 2002 10:50 AM

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!

tross04401 January 30th, 2002 11:42 AM

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

Unregistered February 5th, 2002 09:43 PM

Mandrake 8.1 Install Difficulties
 
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

HeadHolio February 6th, 2002 06:16 AM

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.


All times are GMT -7. The time now is 08:24 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.