Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown    



INSTALLING JAVA PLUGIN


Installing Sun´s Java can pose a bit of a problem. Sun does have it´s own view on packaging software, not only for Star Office but even worse for Java, that is why I collected some bits and pieces that can help.
Download it here: www.java.com/en/download . . . get the 'jre-6u11-linux-i586.bin' ( not the rpm ) the package that ends on ".bin"

CD to the directory you downloaded jre-6u11-linux-i586.bin ( your version might have different numbers )

first:

CODE
# chmod a+x jre-6u11-linux-i586.bin


and run the file:

CODE
# ./jre-6u11-linux-i586.bin

( don´t forget the dot at the beginning, no space after the /)

You will get a license agreement before it will start and install the package.


After the install you will have to make a link from the java plugin to the /usr/lib/mozilla/plugins directory ( check the path, for example in SUSE 10.1 it is /usr/lib/browser-plugins ) . .
The java plugin ( libjavaplugin_oji.so ) will most likely be located in /usr/lib/jvm/java-1.6.0-sun-1.6.0.11/jre/plugin/i386/ns7/libjavaplugin_oji.so ( Also in this case: check the path ).

CODE
# ln -s  /usr/lib/jvm/java-1.6.0-sun-1.6.0.11/jre/plugin/i386/ns7/libjavaplugin_oji.so   /usr/lib/mozilla/plugins


Other browsers will look for their plugins in /usr/lib/mozilla/plugins too !
( Exception: Depending on the version of Firefox you additionally need to put a link to the libjavaplugin_oji.so in your /firefox/plugins directory too )


Now restart your browser, type 'about:plugins' in the address bar and see if java is listed.


Bruno



-- Sep 30 2003 ( Revised Jan 30 2009 ) --


Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown