Sun offers Java for x86 and x64 Linux that can’t be used on the PS3 (which runs PPC Linux). However, IBM produces an implementation of Java that does work on PPC Linux. Here’s how to install the IBM Java plugin for Firefox on Yellow Dog 6:
Install IBM Java
Go here:
http://www-128.ibm.com/developerworks/java/jdk/linux/download.html
Click on the link for Java SE Version 6 for 32-bit iSeries/pSeries
You’ll need to register with IBM, sign in, accept license agreement, yada
yada yada…
Click on the link to Download using http
Click on this one:
rpm format
ibm-java-ppc-jre-6.0-0.0.ppc.rpm
Open with system-install-packages, Click OK
Install the Mozilla plugin
Once IBM Java install is finished, open a terminal window.
Applications -> Accessories -> Terminal
Create a symbolic link to /opt/ibm/java-ppc-60/jre/plugin/ppc/ns7/libjavaplugin_oji.so in the /usr/lib/mozilla/plugins folder:
su
[enter root password]
cd /usr/lib/mozilla/plugins
ln -s /opt/ibm/java-ppc-60/jre/plugin/ppc/ns7/libjavaplugin_oji.so
exit
Confirm Installation
Restart Firefox if it’s already running.
In Firefox, where you normally would enter an http: address, enter:
about:plugins
You should see this show up in the list:
Java(TM) Plug-in 1.6.0-internal-root_16_nov_2007_18_41-b00
After this, you should be able to run Java applets in Firefox 2, complete
with sound.
Of course then you’ll want to make sure it’s working:
http://www.time.gov
Try selecting a time zone … ZZZzz…
http://www.flyordie.com/
A very active mutliplayer Java game site featuring pool, chess, Reversi,
etc. Expect to see lots of banner ads.
http://www.runescape.com
A Java-based MMORPG (Massively Multiplayer Online Role-Playing Game)
NOTE:
If you need to use Java 5 instead, select J2SE 5.0 for 32-bit iSeries/pSeries. Download/install this one: ibm-java2-ppc-jre-5.0-6.0.ppc.rpm, and to create the symbolic link, use this:
ln -s /opt/ibm/java2-ppc-50/jre/bin/libjavaplugin_ojigtk2.so
All other steps remain the same.
7 comments
Comments feed for this article
Trackback link
http://blogs.ydl.net/billb/2008/03/02/install-java-6-plugin-for-firefox-on-ydl-6/trackback/
May 27, 2008 at 5:06 pm
Jonathan
I need a little help with setting the video-mode for a ps3 on fedora 9. When I’m in root and put in video-mode I can only choose 480p. And when you mention “video=ps3fb:mode:3 rhgb
(this section may look different depending on how you installed Fedora 9)” in your post on fedoraforum.org, Mine is different and that does not appear on the editor screen. Can you help??
June 16, 2008 at 4:31 pm
Mark
Just wanted to say thanks for all the tutorials. I did this Opera one, and it worked great. I think I have a new favorite browser!
Thanks…..Mark
June 18, 2008 at 4:37 am
Lawrence
Hey Billb…Whats going on with the Yellow Dog Forum? Its been down for a few days now. Do you know whenit will be back up?
June 21, 2008 at 3:08 pm
dan
I installed port audio prior to snes9x-gtk as instructed, but I sitll get no sound. Help?
June 22, 2008 at 7:27 am
billb
@dan, in snes9x-gtk, look in Options -> Preferences -> Sound and make sure your playback rate is 44100 or 48000 — I think it defaults to 32000 and that doesn’t work on the PS3.
June 24, 2008 at 3:15 pm
danb
hey bill. First time here and all of your tutorials and helpful links are the reason I can do all this from my couch. Thanks in advance. Anyway, I was tryin to get GTK 1.51 and Port audio. I tried installing the RPM for port audio and I keep getting an error at the end. I was hoping you could help me out. I get:
Error Resolving Dependencies
Unable to resolve dependencies for some packages selected for installation.
In the details Tab:
Missing Dependency: libjack.so.0 is needed by the package portaudio
thanks again for all your help.
June 24, 2008 at 6:46 pm
billb
@danb, I see — that is provided in the fedora-extras repo (fc6), so if you haven’t added the additional third-party repos as described here:
http://blogs.ydl.net/billb/2008/03/02/third-party-repos-for-ydl-6/
Then the installer won’t pick up the dependency. There may be other RPM packages I have made that require the third party repos as well. There’s a post on the YDL community board that describes them in more detail here, plus how to install software on YDL in general:
http://www.yellowdog-board.com/viewtopic.php?t=3017
Once you have them set up properly, the installer should pick up the dependency and add it automatically.
jack-audio-connection-kit.ppc 0.103.0-1.fc6 fedora-extras
Matched from:
libjack.so.0
Also, I have a new version of the portaudio rpm that I haven’t posted yet — here’s a direct link:
http://pleasantfiction.ipower.com/ps3linux/ps3bodega/portaudio-19-5.ppc.rpm
(still need to add the 3rd party repos first, at least fedora-extras anyway)
And when you have snes9x-gtk installed, look in Options -> Preferences -> Sound and make sure your playback rate is 44100 or 48000 — I think it defaults to 32000 and that doesn’t work on the PS3.