First, I have to credit Paul for clearly documenting the process for setting up Java 1.5 support for Opera 9 in this post on the Yellow Dog Community Board. The process for setting up Java 1.6 support is only slightly different.
To get Opera 9 installed, just browse to the Opera download page and select Yellow Dog under Select distribution and vendor. At the time I’m writing this it displays a version for Yellow Dog Linux 5.0 - 5.0.1, 5.0.2 (Sony Playstation 3 and Apple G4 - G5), but this works on Yellow Dog 6 as well. When the download starts you can just select Open with Software Installer. When installation is complete, Opera should show up in your menu under Applications -> Internet, or you can start it from the command line simply by entering opera.
If you have bookmarks from Firefox that you wish to import, start Opera and go to the menu item File -> Import and Export -> Import Netscape/Firefox bookmarks … This brings up a window labeled Select Netscape bookmarks to import. In the box next to Look in, you’ll need to enter ~/.mozilla to bring up the hidden folder in your home directory where the Firefox bookmarks are stored. Then double-click on the firefox folder, double-click the next folder that comes up (a random name ending in .default), and finally select bookmarks.html. Click on Open and a window should pop up letting you know how many were imported. These will be located under Bookmarks -> Opera -> Netscape bookmarks, but you can reorganize them later with Bookmarks -> Manage bookmarks.
If you’re unfamiliar with Opera, you can read about the various features by selecting Help -> Opera Help, or simply press the F1 key.
And now for the Java 1.6 support — first you need to have IBM Java 1.6 installed as described in this Howto (skipping the Mozilla plugin part if you want). Once you have IBM Java 1.6 installed you need to open a terminal window and create a symbolic link with this command (as root using su, or use sudo):
su [root password] ln -s /opt/ibm/java-ppc-60/jre/lib /opt/ibm/java-ppc-60/jre/lib exit
I realize this is creating a symbolic link to the /opt/ibm/java-ppc-60/jre/lib folder within the /opt/ibm/java-ppc-60/jre/lib folder, but that is what works. Otherwise Opera won’t recognize it as a valid path in the next step.
Back in Opera, go to the Tools -> Preferences menu and select the Advanced tab. Select Content from the list on the left side. and click the Java options… button. This will open a small window labeled Java. The box for Java path should be empty at this point. Click on Choose… and browse to the /opt/ibm/java-ppc-60/jre/lib/ppc/ folder, then click OK.
Note: If you copy/paste /opt/ibm/java-ppc-60/jre/lib/ppc/ into the Java path box instead, you still need to click on Choose… and OK or it doesn’t work properly in my experience with it.
Now click the Validate Java path button and it should say: The Java path seems to specify a valid directory. Your screen should look something like this:
Click OK to close the Validate Java path window, and OK again to close the Java window. Back on the Preferences window on the Advanced tab, check Enable Java and click OK.
Now close Opera and restart Opera. At this point you should have Java 1.6 support in Opera 9.
To confirm that it works properly I have tested this on the following sites:
http://www.time.gov — select a time zone and a clock applet should appear at the top
http://www.flyordie.com — various online multiplayer games including Reversi and 3D Pool
http://www.logmein.com — Java based remote access client for accessing Windows and Mac OSX desktops
7 comments
Comments feed for this article
Trackback link
http://blogs.ydl.net/billb/2008/03/21/opera-9-with-java-16-support-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.