I moved away from Open Suse also, I now run Ubuntu 9.04 (I've been using Ubuntu on my TiBook for a couple years now) This version works very well for everything except the usb image creator tool (it is an i-386-586 specific tool as syslinux hasn't been ported to ppc). Java, the app and JRE work as does flash. Cheers, SteveD On May 25, 2009, at 1:48 PM, Brett Smith wrote:
Zhang Weiwu wrote:
在 2009-05-24日的 18:17 +0200,Manfred Tremmel写道:
Oh what a shame. However I have to try it, because I don't have other ways. My other java application also behave incorrect, especially jedit which is my daily tool. The problem seems to be related to JRE compatibility with Chinese input method which is beyond what I can fix by myself. I guess I had to try see if IBM JRE works for me.
And I start to fight dependency. First error message for latest ppc RPM package is: error: Failed dependencies: libstdc++.so.5 is needed by ibm-java-ppc-jre-6.0-4.0.ppc The usual dirty way of solving such problem is cp /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5
however it doesn't fool the installer. I still gets the same error messag: error: Failed dependencies: libstdc++.so.5 is needed by ibm-java-ppc-jre-6.0-4.0.ppc
Am I one of the first trying to install IBM JRE from IBM site? I guess if other people when through this trouble they probably have some guide posted, but google told me nothing.
I do not have openSUSE anymore on my Mac G4 because it does not easily support SMP. However, I was able to make the IBM Java work as the default on Fedora 10, so the steps below might work with modifications on your Mac. The RPM package names will be slightly different, and you may need to research more to enable localization, as I only use English.
Regards, - Brett
Some web site references:
IBM Java developer kits (download 32-bit iSeries/pSeries) http://www.ibm.com/developerworks/java/jdk/linux/download.html
See section: "Linux dependent packages are not available" and "update-alternatives" commands http://publib.boulder.ibm.com/wasce/V2.1.0/en/setup-troubleshooting.html
openSUSE update-alternatives article (RPM name is "update- alternatives") http://en.opensuse.org/Java/setDefaultJava
And these are the Fedora 10 steps:
INSTALL PREREQUISITES
Install (Fedora 10): libXp-1.0.0-11.fc9.ppc.rpm compat-libstdc++-33-3.2.3-64.ppc.rpm galternatives-0.13.4-5.fc9.noarch.rpm
INSTALL IBM JAVA 5
Install (IBM download): ibm-java2-ppc-sdk-5.0-9.0.ppc.rpm ibm-java2-ppc-javacomm-5.0-9.0.ppc.rpm
Add Java 5 application to alternatives: # update-alternatives --install /usr/bin/java java /opt/ibm/java2-ppc-50/jre/bin/java 1
Add Java 5 browser plugin to alternatives (for Firefox 3): # update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /opt/ibm/java2-ppc-50/jre/bin/libjavaplugin_ojigtk2.so 1
INSTALL IBM JAVA 6
Install (IBM download): ibm-java-ppc-sdk-6.0-4.0.ppc.rpm ibm-java-ppc-javacomm-3.0.0.0.rpm
Add Java 6 application to alternatives: # update-alternatives --install /usr/bin/java java /opt/ibm/java-ppc-60/jre/bin/java 1
Add Java 6 browser plugin to alternatives (for Firefox 3): # update-alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /opt/ibm/java-ppc-60/jre/plugin/ppc/ns7/libjavaplugin_oji.so 1
SELECT IBM JAVA (5 OR 6) APPLICATION FROM ALTERNATIVES
# update-alternatives --config java
There are 4 programs which provide 'java'.
Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java 2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java 3 /opt/ibm/java2-ppc-50/jre/bin/java 4 /opt/ibm/java-ppc-60/jre/bin/java
Enter to keep the current selection[+], or type selection number: 3
VERIFY INSTALLED JAVA APPLICATION VERSION
# java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxp32devifx-20090327 (SR9-SSU )) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20081129 (JIT enabled) J9VM - 20081126_26240_bHdSMr JIT - 20081112_1511ifx1_r8 GC - 200811_07) JCL - 20090327
SELECT IBM JAVA (5 OR 6) BROWSER PLUGIN FROM ALTERNATIVES
# update-alternatives --config libjavaplugin.so There are 3 programs which provide 'libjavaplugin.so'.
Selection Command ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/lib/ppc/IcedTeaPlugin.so 2 /opt/ibm/java2-ppc-50/jre/bin/libjavaplugin_ojigtk2.so 3 /opt/ibm/java-ppc-60/jre/plugin/ppc/ns7/ libjavaplugin_oji.so
Enter to keep the current selection[+], or type selection number: 2
VERIFY INSTALLED JAVA BROWSER PLUGIN VERSION
1. Open Firefox 3, and type the URL: about:plugins 2. Scroll down the "Installed plugins" web page and find section:
IBM Java(TM) Plug-in: J2RE 1.5.0 IBM build jclxp32devifx-20090327 File name: libjavaplugin_ojigtk2.so Java(TM) Plug-in 1.5.0 -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org