If you downloaded a binary package of Java (j2re-1_4_2_05-linux-i586.bin) so install it as follows. If you downloaded an RPM - i don't know how to install it.
Installing Java from .bin package:
Login as root. Create a directory /usr/java:
Copy a downloaded .bin package to this dir
Code:
cp /My Computer/My Documents/j2re-1_4_2_05-linux-i586.bin /usr/java
go to created dir:
and make it executable:
Code:
chmod +x j2re-1_4_2_05-linux-i586.bin
.
Then run it:
Code:
./j2re-1_4_2_05-linux-i586.bin
It will unpack itself in subdir of /usr/java called j2re1.4.2_05
Open your favorite text editor and copy the folowing to:
Code:
JAVA_HOME=/usr/java/j2re1.4.2_05
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
Save this file as root in /etc/profile.d, name it java.sh. Make it executable:
Code:
chmod +x /etc/profile.d/java.sh
Restart X. To check your Java installation in console do
It will output an info about installed Java. If it doesn't, you did something wrong.
If you have Mozilla or Firefox, you may want Java plugin installed for. So close Mozilla/Firefox completely, login as root and go to /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32. There is a file called libjavaplugin_oji.so inside. Just copy this file to Mozilla/Firefox /plugin dir. Then to check it installed open Mozilla/Firefox and type "about
:plugins" without quotes in addres bar. It will open a page with info about installed plugins. If Java isn't listed, then you did something wrong.
Limewire: post an exact name of the file you downloaded, please.