HowTo: Enable Java for Firefox
A very special thanks goes out to “NobodySpecial” from the Ubuntu forums for this helpful tip on how to enable Java for firefox. You may see the original post here.
For Sun Java:
Download from IBM: http://www-128.ibm.com/developerwork…/download.html
You will have to register (free).
Choose 32-bit iSeries/pSeries, J2SE5.0. Download the TGZ version of the SDK.
The following instructions assume the latest version to download is “ibm-java2-sdk-5.0-4.0-linux-ppc.tgz” - modify the text below as needed.
In terminal:
Code:
$ sudo apt-get install libgtk1.2 libstdc++5 java-package
$ mv ibm-java2-sdk-5.0-4.0-linux-ppc.tgz ibm-java2-sdk-50-linux-ppc.tgz
$ make-jpkg ibm-java2-sdk-50-linux-ppc.tgz
$ sudo dpkg -i ibm-j2sdk1.5_1.5.0_powerpc.deb
$ java -version
The last command should give you a response: java version “1.5.0″
If not, type:
Code:
$ sudo update-alternatives --config java
To get working with firefox:
Code:
$ sudo ln -s /usr/lib/j2sdk1.5-ibm/jre/bin/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins
Restart firefox, go to test website: http://serios.net/content/applets/viewinfoawt.php
Enjoy Java!
