how to install java in linux
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
> * 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
> * Run FC3's "alternatives" system: alternatives --set 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
I had this same problem.
The -ln commands where what helped me:
More information about the PLUG