Java Runtime and Java Plugins for Mozilla (Firefox)
Daniel Robitaille
robitaille at gmail.com
Wed Oct 20 04:42:52 UTC 2004
> I tired following Sun's recipe last night and could not get Java or the
> plugin working, in fact Firefox would not even start.
>
> However this morning I searched the ubuntu site, then the unofficial
> forums and found a recipe that while a little inaccurate, did finally
> allow me to get things working (my goal was to install eclipse platform
> which I did).
here is my recipe (for i386 arch) in case anyone is interested:
How-to install Sun's Java on Ubuntu
==================================
*) goto http://www.java.com
*) click on the button "get it now"
*) download and save to disk the "Linux self-extracting file"
(warning: do not download the the RPM self-extracting file!)
*) open an xterm, and go to the directory of the file you just
downloaded (in my case it was named "j2re-1_4_2_05-linux-i586.bin")
*) chmod u+x j2re-1_4_2_05-linux-i586.bin
*) ./j2re-1_4_2_05-linux-i586.bin
*) After reading it, accept the Sun's license (by typing "yes")
*) sudo mv j2re1.4.2_05 /opt/
*) to have the command "java" accessible from the command line:
-) cd /usr/local/bin/
-) sudo ln -s /opt/j2re1.4.2_05/bin/java .
*) to install the java plugins for firefox
-) cd /usr/lib/mozilla-firefox/plugins/
-) sudo ln -s
/opt/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
More information about the ubuntu-users
mailing list