how to install java in linux
Joel Finlinson
joel.finlinson at gmail.com
Tue Feb 22 10:18:42 MST 2005
On Thu, 27 Jan 2005 17:17:15 -0700, Bryan Sant <santbj at ldschurch.org> wrote:
>
> >>>charlescurley at charlescurley.com 01/27 4:29 pm >>>
> He'll probably need to make it executable first. "info chmod".
>
> Also, there is an RPM available, j2re-1_4_2_06-linux-i586-rpm.bin,
> that is running fine on my FC3 box. It might be easier to install.
>
> >>>
>
> The best way I've found to install Java on FC3 is to do the following as
> root:
>
> * Download the RPM version from java.com (or java.sun.com for the JDK).
> * Expand the RPM: sh j2re-1_4_2_06-linux-i586-rpm.bin
> * Install the RPM: rpm -ivh j2re-1_4_2_06-linux-i586.rpm
> * Make a generic link for java: ln -s /usr/java/j2re1.4.2_06
> /usr/java/j2re
> * Run FC3's "alternatives" system: alternatives --set java
> /usr/java/j2re/bin/java
> * Run the following to make sure the Sun J2RE is installed: java -version
> * Run the following to add applet support to firefox: cd
> /usr/lib/firefox-1.0/plugins && ln -s
> /usr/java/j2re/plugin/i386/ns610/libjavaplugin_oji.so
>
> -Bryan
=============================
I had this same problem.
The -ln commands where what helped me:
http://www.linux-noob.com/forums/index.php?showtopic=1101
http://www.mjmwired.net/resources/mjm-fedora-fc3.shtml#java
http://www.linuxforums.org/tutorials/2/tutorial-30440.html
More information about the PLUG
mailing list