Is there a JAVA rpm?

Daniel Hedlund daniel at digitree.org
Mon Dec 8 03:21:26 UTC 2003


On Mon, 2003-12-08 at 14:09, Charles Layno wrote:
> Is there a rpm that is wasier to install JAVA than what is on the Sun site?

Do you want the SDK (software development kit) or the JRE (java runtime
environment)?

Java Runtime Environment (13MB)
http://ftp.aarnet.edu.au/pub/java/sun/JRE-1.4.2_01/linux/j2re-1_4_2_01-linux-i586-rpm.bin

Java Software Development Kit (33 MB)
http://ftp.aarnet.edu.au/pub/java/sun/JRE-1.4.2_01/linux/j2sdk-1_4_2_01-linux-i586-rpm.bin

Here's what you do (assuming java runtime, replace with SDK if desired):
1. download the rpm.bin
2. chmod +x j2re-1_4_2_01-linux-i586-rpm.bin
3  ./j2re-1_4_2_01-linux-i586-rpm.bin
4. agree to their user agreement after you read it
5. rpm -ivh j2re-1_4_2_01-linux-i586-rpm

The following are for the Mozilla java plugin:
6. ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32
/usr/lib/mozilla/plugins/
7. ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32
/usr/lib/mozilla-1.4.1/plugins/

The following is for the Mozilla Firebird browser plugin:
8. ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32
/usr/lib/MozillaFirebird/plugins/

There are some other things you also need to do which I don't remember
off the top of my head, such as adding /usr/java/j2re1.4.2_01 to your
path, adding man page entries, etc.

Cheers,

Daniel

-- 
Daniel Hedlund
daniel at digitree.org
CEO & Chief Consultant
DigiTree Studios Pty Ltd.






More information about the users mailing list