Click to See Complete Forum and Search --> : Installing JAVA


montikarlo
01-25-2004, 07:50 PM
I just installed red hat 9 (i'm new at this too) and i'm trying to install java. I went to www.java.com and downloaded J2RE-1_4_2_03. Below is how I ran the installation script:

chmod a+x j2re-1_4_2_03-linux-i586-rpm.bin

./j2re-1_4_2_03-linux-i586-rpm.bin

--yes to license--

--became root--

rpm -iv j2re-1_4_2_03-linux-i586.rpm

--exit root--

The problem I have is that it doesn't work and Java SDK is supposed to come with the Java J2RE (I can't seem to find that either).

Need help bad. Thanks in advance.

j79zlr
01-25-2004, 07:57 PM
just download the regular binary executable, no need to mess with the RPM. Place the bin file in /usr/lib and run it (./jre*.bin) then go to /usr/lib/j2re1.4.2_03/plugin/i386/ns610-gcc32 and simlink the plugin to your netscape/mozilla/firebird plugin folder

ln -s /usr/lib/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-1.6/plugins

some of these paths might be slightly different on redhat, and you would use the plugin in ns600 if you do not have gcc3.2 or higher.

bsm2001
01-25-2004, 08:11 PM
here is how i installed java

http://www.java.com

1. download the non rpm file
2. chmod 755 j2r*.bin
3. ./j2r*.bin
4. yes to accept license
it extracts to a file in the home folder
5. open up home folder
6. open j2r* folder
7. open plugin folder
8. open i386 folder
9. open ns610-gcc32
10. right click libjavaplugin create link

11. open home folder
12. click on edit
13. select preferences
14. in the new window check the box to show hiden and backup files
15. open the .mozilla folder
16. open plugins
17. drag the created link to the plugin folder
18. close the windows
19. un check the show hidden folders
20. close the pref window

21. then enjoy yahoo games!

montikarlo
01-26-2004, 08:40 PM
thanks...it works