Re: Is there a JAVA rpm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2003-12-07 at 20:21, Daniel Hedlund wrote:
> 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.
----
since you did such a bang up job...

edit a new file... /etc/profile.d/java.sh

insert into this file...
JAVA_HOME=/usr/java/j2re1.4.2_01
PATH=$PATH:$JAVA_HOME/bin
export JAVA_HOME PATH

then close the file and type...
source /etc/profile.d/java.sh

The next time you launch Mozilla - java should be fully functional

Craig




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux