Install Java 6 Plugin for Firefox on YDL 6

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.

do you no why yellowdog_board is down. Im trying to get you article on how to make my sixaxis wireless

No, I don’t know why the board is down — it’s a bit of a mystery. ;-)

I have a new forum up:
http://forums.ps3bodega.com/

Look in the Guides & How-to Articles section.

I remember seeing you article on yellowdog-forums, so when i was ready the site was down. Looked every where for a subsitute but not explained as well as yours. This being said, Thanks, really. You got anything on how to compile mame to work on my ps3 yld6 linux.

Also on the new forum, look under Gaming & Emulation (just posted it).

Whilst it works I cannot get the zoom to zentre on Quake 2 it always seems to be in topleft of screen quake2 that is not the zoom.
Also gconf-editor is not recognised in YDL

Not sure I understand … what resolution are you running on your desktop, and at what resolution are you running quake2 full screen?

Re: gconf-editor, you just need to install it first (it’s included in yellowdog-base)
yum install gconf-editor

awesome yellowdog-board.com is back up and running ;-)

I have the same new Hitatchi hard drive, can you tell me how to format my old 80 GB ps3 Hard Drive so I can use it as an external drive for my ps3 plugged into the usb

Assuming you’re using YDL6, one way to do it would be to install this version of gparted:

http://pleasantfiction.ipower.com/ps3linux/ps3bodega/gparted-0.3.3-3.ppc.rpm

And I would strongly suggest reading about how to use gparted before using it — wouldn’t want you partitioning / formatting the wrong drive! ;)

http://gparted.sourceforge.net/manpage.php

Also, you should be able to determine which device it is after you plug it in with:

su -l
fdisk -l

(those are lowercase l’s, not number 1’s)

If you have trouble, please post on yellowdog-board.com or forums.ps3bodega.com.

I figured it out finally thanks anyway

hi, really good tutorial. I got everything working *nearly*
cant seem to get past the

LoadLibrary(”ref_softx.so”) failed: No such file or directory

error when I boot up. Its only building ref_softsdl for me as well
any ideas??

You must be compiling Quake2? The comments don’t always come up under the correct post here … I’ll need to go back and look at how I launch it … I’ve created an RPM package for it since that post — if you’re running YDL6 on PS3 you can install it with that, instead … you can find it here:

http://pleasantfiction.ipower.com/ps3linux/ps3bodega/repodata/repoview/Amusements.Games.group.html

OK — this is how I’m starting it:

cd /your/quake2/folder

./sdlquake2 +set vid_ref=softsdl

Reference link:
http://www.yellowdog-board.com/viewtopic.php?f=19&t=2937#p10945

wow thanks for the quick reply! i am compiling quake2.. noticced i don’t hax x11r6 libraries .. at least where the make script is looking for them - i’ll try your rpm first though :)

yeah i have ydl6 on my ps3

yeah i start it in the same way, do i need to set some kind of env var to tell it where to find the file?

Glad that worked for you …

Occasionally it crashes (segmentation fault) at startup but will usually run on repeated attempts … never figured out why it does that and haven’t had the motivation to try a debug build and see what the backtrace looks like. Most of the time it starts up with no problem.

*
To prove you're a person (not a spam script), type the security word shown in the picture.

CAPTCHA