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!

























Mark said
am July 30 2007 @ 6:02 pm
I attempted this but the system informed me that I needed to have multiverse installed. My original Linux install went fine and I was not informed that I missed anything. Can you help?
Ciego said
am July 31 2007 @ 3:26 am
You will need to enable some repositories first.
Check out this document …. it should guide you throught the process.
https://help.ubuntu.com/community/Repositories?action=show&redirect=AddingRepositoriesHowto
I would suggest posting in the forums if you have additional questions. They will be seen/answered more quickly and by more users.
http://psubuntu.com/forum
http://www.ubuntuforums.org
neurontin pain said
am October 24 2007 @ 2:19 am
neurontin pain…
news…
clomid fertility drugs said
am October 24 2007 @ 3:25 am
clomid fertility drugs…
news…
jgm said
am February 10 2008 @ 10:35 pm
hey im a noob at this stuff i dont get what the codes are for and what terminal is?? can someone help thanks.
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
drunkgoblin said
am February 19 2008 @ 2:25 am
this worked for me, change:
Code:
$ sudo ln -s /usr/lib/j2sdk1.5-ibm/jre/bin/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins
to:
Code:
$ sudo ln -s /usr/lib/j2sdk1.5-ibm/jre/bin/libjavaplugin_oji.so /usr/lib/firefox/plugins
igniteflow said
am February 20 2008 @ 3:38 pm
I’ve downloaded the .tgz file to the desktop on ubuntu 7.10 but when i get to the second line of the terminal instructions i get “No such file or directory”
Where should I put the .tgz file for this to work?
scott said
am May 14 2008 @ 5:47 am
i’m not sure if it’s 8.04 only, but i cannot get this working. 8.04 uses Firefox 3.0b5 compiled for ppc64. Does this not work with 32bit plugins? I’ll mess with it some more, but I couldn’t get the 64bit java to work at all, and the 32bit one works but not in firefox… The files exist, running “file java” says it a dynamic exe but then “ldd java” says it’s not. Might still be a directory issue, but I tried the plugins directory in the start-up script, but used symbolic links … ugh I dunno.
Civo said
am June 5 2008 @ 2:52 pm
Hi everyone!
I’m also having trouble installing Java in the Feity PS3 version.
I’m having the same message as igniteflow:
“No such file or directory”
I’m on the desktop directory, the file is on the desktop, I made copy/paste of the name of the file to the Terminal and that message appeared.
It seems as if no file is saved on the Desktop?!
Can anyone help? With low Flash support and low java support, there a lot of websites that can’t be viewed correctly!!! And I don’t care about Utube, I’m talking about sites I need to insert data; for instance in my countries Finances site, I can’t even submit my forms on-line.