[opensuse-ppc] how to install ibm jre
Hello. I have problem accessing online banking from iBook G4/opensuse. It uses applet and it works fine on my friends iBook G3 running Gentoo Linux and IBM jre. I noticed opensuse installed icedtea instead, so I am thinking if I can install IBM jre it would solve the problem. However I couldn't find sun jre in package repository, in all of powerpc.opensuse.org oss/non-oss repositories and in packman. A google search of how to use ibm-jre in opensuse finds my own post asking similar question 3 year ago which failed by that time: http://lists.opensuse.org/opensuse/2006-07/msg01965.html Am I advised to go to IBM website download and install jre in RPM version? Or should I add other package repositories or where to find a pre-packaged ibm jre? What do you try in this case? Thanks in advance. -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
Am Sonntag, 24. Mai 2009 schrieb Zhang Weiwu:
Hello. I have problem accessing online banking from iBook G4/opensuse. It uses applet and it works fine on my friends iBook G3 running Gentoo Linux and IBM jre. I noticed opensuse installed icedtea instead, so I am thinking if I can install IBM jre it would solve the problem.
However I couldn't find sun jre in package repository, in all of
Sun never created a Linux PPC jre/jdk, so you couldn't find it. There was a port from Blackdown, but the latest version was 1.3.something. I wouln't use it anymore.
powerpc.opensuse.org oss/non-oss repositories and in packman. A google search of how to use ibm-jre in opensuse finds my own post asking similar question 3 year ago which failed by that time: http://lists.opensuse.org/opensuse/2006-07/msg01965.html
Am I advised to go to IBM website download and install jre in RPM version? Or should I add other package repositories or where to find a pre-packaged ibm jre? What do you try in this case?
You have to download from IBM website. The licence was very restricted, when I've checked it last, so it doesn't allow to redistribute it. Therefore there will be no package on the packman site. In the past, IBM checked the cpu and failed on cpu's IBM didn't use on there own computers, so all G4 didn't work. I don't know if this has changed the last years. -- Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/ | http://packman.links2linux.de/ Manfred | http://www.knightsoft-net.de -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
在 2009-05-24日的 18:17 +0200,Manfred Tremmel写道:
You have to download from IBM website. The licence was very restricted, when I've checked it last, so it doesn't allow to redistribute it. Therefore there will be no package on the packman site.
In the past, IBM checked the cpu and failed on cpu's IBM didn't use on there own computers, so all G4 didn't work. I don't know if this has changed the last years.
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. -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
Am Montag, 25. Mai 2009 schrieb Zhang Weiwu:
The usual dirty way of solving such problem is cp /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5
Sorry, would be a very stupid way. Install libstdc++33, it contains the libstdc++.so.5 -- Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/ | http://packman.links2linux.de/ Manfred | http://www.knightsoft-net.de -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
Manfred Tremmel wrote:
Am Montag, 25. Mai 2009 schrieb Zhang Weiwu:
The usual dirty way of solving such problem is cp /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5
Sorry, would be a very stupid way. Install libstdc++33, it contains the libstdc++.so.5
Thank you very much for your hints, this instantly solved my problem. Here is the full instruction for other newbies: 1. download the ppc jre from IBM in RPM format. You need an IBM ID for that; 2. install libstdc++33, remove old openJDK JRE (and its "plugin"); 3. double-click to install the RPM package you downloaded. Note that unlike most other applications, when installation successfully finish, the installer will close itself WITHOUT saying 'installation is successful', so if you see it suddenly closed it is not crashed. 4. for every Java application you wish to run, change its properties of desktop icon. e.g. was: /usr/local/bin/jedit change to: /usr/bin/env JAVA_HOME=/opt/ibm/java-ppc-60/jre /usr/local/bin/jedit -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
在 2009-05-26二的 14:17 +0800,Zhang Weiwu写道:
1. download the ppc jre from IBM in RPM format. You need an IBM ID for that; 2. install libstdc++33, remove old openJDK JRE (and its "plugin"); 3. double-click to install the RPM package you downloaded. Note that unlike most other applications, when installation successfully finish, the installer will close itself WITHOUT saying 'installation is successful', so if you see it suddenly closed it is not crashed. 4. for every Java application you wish to run, change its properties of desktop icon. e.g. was: /usr/local/bin/jedit change to: /usr/bin/env JAVA_HOME=/opt/ibm/java-ppc-60/jre /usr/local/bin/jedit
5. In case you need to run Java applets, do this: ln -s /opt/ibm/java-ppc-60/jre/plugin/ppc/ns7/libjavaplugin_oji.so /usr/lib/browser-plugins/ -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
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
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
Steven Didier wrote:
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
Thanks for the input. I spent 2 day trying to install Ubuntu on iBook G4 and turn to opensuse after everything I can do failed. The main problem being X, no matter how I tweak or try to compile a driver for my ATI Radeon Mobility card, starting X server always puts the notebook to black screen where the only thing can do is to login to the notebook through SSH and shut down the host (killing X server wouldn't get console back). I'd love to use Ubuntu if I could, because I had switched from OpenSuSE to Ubuntu 3 years ago and liked it for its lack of problems e.g. occasionally not able to print (which happens in OpenSUSE), slowness on starting "Computer" menu (now better in 11.1), defaulting to banshee which I hate (where ubuntu default tools for multi media works better) and having to struggle on package management to figure out how to install VLC etc (where Ubuntu have them 2 clicks away). Now switching back to OpenSuSE I have found a few new problem that wasn't there 3 years ago, e.g. GIMP doesn't print (most other application prints, even 2/3 times fail 1/3 time works, but GIMP always fail). However it do fixed some major problem that existed 3 years ago, e.g. huge (and growing amount of) memory consumed by the start menu replacement (where Ubuntu have simple start menu). I cannot help but feeling Ubuntu is for use, while OpenSUSE sells because it have several "advantages" like nicer beagle integration, wired start menu (now I think it is a bit more useful than Ubuntu's because of "favorites"), XEN integration, Mono and its applications like banshee. When you want to buy an OS, you may consider which have advantages, but when you actually use an OS, these special OpenSUSE advantages helps little in my daily business, while stability and less number of problems counts. -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
I had the very same problems with versions 5-7. I would end up tweaking the Xorg config file each time I upgraded. That was not the case in the latest Jaunty 9.04 it installed without a hitch and my graphics chip is the ATI mobility 900. If you haven't tried the latest release I'd suggest that you download it and give it a try again. As another option Yellow Dog Linux, based on Fedora, is compiled for ppc, Sony Playstation (it has the motorola ppc processor) may work for you Good luck, SteveD On May 25, 2009, at 6:31 PM, Zhang Weiwu wrote:
Steven Didier wrote:
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
Thanks for the input. I spent 2 day trying to install Ubuntu on iBook G4 and turn to opensuse after everything I can do failed. The main problem being X, no matter how I tweak or try to compile a driver for my ATI Radeon Mobility card, starting X server always puts the notebook to black screen where the only thing can do is to login to the notebook through SSH and shut down the host (killing X server wouldn't get console back). I'd love to use Ubuntu if I could, because I had switched from OpenSuSE to Ubuntu 3 years ago and liked it for its lack of problems e.g. occasionally not able to print (which happens in OpenSUSE), slowness on starting "Computer" menu (now better in 11.1), defaulting to banshee which I hate (where ubuntu default tools for multi media works better) and having to struggle on package management to figure out how to install VLC etc (where Ubuntu have them 2 clicks away).
Now switching back to OpenSuSE I have found a few new problem that wasn't there 3 years ago, e.g. GIMP doesn't print (most other application prints, even 2/3 times fail 1/3 time works, but GIMP always fail). However it do fixed some major problem that existed 3 years ago, e.g. huge (and growing amount of) memory consumed by the start menu replacement (where Ubuntu have simple start menu).
I cannot help but feeling Ubuntu is for use, while OpenSUSE sells because it have several "advantages" like nicer beagle integration, wired start menu (now I think it is a bit more useful than Ubuntu's because of "favorites"), XEN integration, Mono and its applications like banshee. When you want to buy an OS, you may consider which have advantages, but when you actually use an OS, these special OpenSUSE advantages helps little in my daily business, while stability and less number of problems counts.
-- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
I had the very same problems with versions 5-7. I would end up tweaking the Xorg config file each time I upgraded. That was not the case in the latest Jaunty 9.04 it installed without a hitch and my graphics chip is the ATI mobility 900. I started by trying Ubuntu 9.04 and than 8.04, then 7.04, which finally work. And I spent 1 day to install 7.04, upgrade to 8.04 then to 9.04, which still doesn't work. If you haven't tried the latest release I'd suggest that you download it and give it a try again. As another option Yellow Dog Linux, based on Fedora, is compiled for ppc, Sony Playstation (it has the motorola ppc processor) may work for you I went through this. People suggest yellow dog linux for me. I opt for openSUSE for its wide coverage of package repository because I am a demanding user that uses 20 software tools for my work (although none of
Steven Didier wrote: them are software development tools) and i hate to mess with the trouble of installing software outside package repository because my old experience told me it could be a blackwhole sucks in time. YDL offer a very narrow package repository. -- To unsubscribe, e-mail: opensuse-ppc+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-ppc+help@opensuse.org
participants (4)
-
Brett Smith
-
Manfred Tremmel
-
Steven Didier
-
Zhang Weiwu