redhatter
07-28-2001, 07:19 PM
I am trying to install the Java 2 Runtime Environment. I downloaded the .rpm file and followed these instructions, from http://java.sun.com/j2se/1.3/jre/install-linux.html#install-pkg
1. Check the download file size.
Check the large file that you downloaded to ensure that it is the correct size:
j2re-1_3_1-linux-i386-rpm.bin 14842795 bytes
If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.
2. Run the installation script and agree to the license it displays.
Launch the installation script by using the following commands from the directory in which it is located:
chmod a+x j2re-1_3_1-linux-i386-rpm.bin
./j2re-1_3_1-linux-i386-rpm.bin
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file jre-1.3.1.i386.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.
4. Run the rpm command to install the packages:
rpm -iv jre-1.3.1.i386.rpm
This will install the packages comprising the Java 2 Runtime Environment.
5. Exit the root shell.
_________
Everything went smoothly, except it doesn't seem like it worked. I was told that I needed to download this file in order to properly run Limewire, which is a filesharing program (I've been having many problems, see the /tgz thread).
I'm at the point in my LimeWire install where I need to enter:
sh runlime.sh
When I do, I get:
runlime.sh: java: command not found
I'm assuming that this means that the Java2 was not properly installed/downloaded. Am I interpreting this correctly? Is there another reason this is bombing out on me?
BTW: I'm running RedHat 7.1, ximian gnome desktop, using Mozilla.
Thanks!
1. Check the download file size.
Check the large file that you downloaded to ensure that it is the correct size:
j2re-1_3_1-linux-i386-rpm.bin 14842795 bytes
If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.
2. Run the installation script and agree to the license it displays.
Launch the installation script by using the following commands from the directory in which it is located:
chmod a+x j2re-1_3_1-linux-i386-rpm.bin
./j2re-1_3_1-linux-i386-rpm.bin
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file jre-1.3.1.i386.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.
4. Run the rpm command to install the packages:
rpm -iv jre-1.3.1.i386.rpm
This will install the packages comprising the Java 2 Runtime Environment.
5. Exit the root shell.
_________
Everything went smoothly, except it doesn't seem like it worked. I was told that I needed to download this file in order to properly run Limewire, which is a filesharing program (I've been having many problems, see the /tgz thread).
I'm at the point in my LimeWire install where I need to enter:
sh runlime.sh
When I do, I get:
runlime.sh: java: command not found
I'm assuming that this means that the Java2 was not properly installed/downloaded. Am I interpreting this correctly? Is there another reason this is bombing out on me?
BTW: I'm running RedHat 7.1, ximian gnome desktop, using Mozilla.
Thanks!