Power Developer
https://powerdeveloper.org/forums/

Java 1.5 working on gentoo
https://powerdeveloper.org/forums/viewtopic.php?f=8&t=471
Page 1 of 1

Author:  SeJo [ Fri Jan 13, 2006 3:08 am ]
Post subject:  Java 1.5 working on gentoo

Hey all,


In gentoo there is an java 1.5 ebuild, to emerge it follow these steps:

echo "dev-java/ibm-jdk-bin" >> /etc/portage/package.unmask

then go fetch the file from the ibm site and emerge the bugger.

It includes a plugin for mozilla (working here) but the plugin does have some issues when applets load com.sun.* packages that aren't installed on the system.

We are still working to get the ibm-jdk distributed by us again... till then we need to set the fetch restict...

greetings,

SeJo


ps: working apps:
eclipse
netbeans
aqua data studio
openoffice (even compiled with it :-))
...

Author:  Aaron [ Fri Jan 13, 2006 8:51 pm ]
Post subject: 

If you run the "ppc" profile, you have to:
Code:
# echo "dev-java/ibm-jdk-bin ~ppc" >> /etc/portage/package.keywords

Author:  lugduweb [ Wed May 10, 2006 1:20 pm ]
Post subject: 

Hi,
I would like to use the Java 1.5 JDK.
But, after having put the file in the required dir, emerge tells me that the required size does not match.

I've downloaded the JDK file (ibm-java2-sdk-50-linux-ppc.tgz) three times on different computers and I still have the same error (required size seems to be of 65Mb) and my file is 68Mb.

Any hints ?

Author:  lu_zero [ Wed May 10, 2006 6:31 pm ]
Post subject: 

IBM usually changes revision w/out notice
emerge --digest dev-java/ibm-jdk-bin

Author:  lugduweb [ Thu May 11, 2006 12:12 am ]
Post subject: 

seems to be working...
thanks for the hint ;-)

Author:  lugduweb [ Thu May 11, 2006 12:32 am ]
Post subject: 

oops... that was a bad idea : now when I do a java command I have a "loading error" :
Quote:
Erreur de chargement : libstdc++.so.5: cannot open shared object file: No such file or directory
I've also downloaded a 48Mb JRE 1.5 file ( ibm-java2-jre-50-linux-ppc.tgz) from IBM's website but it seems that there is no ebuild.
How can I use it anyway ?

I guess that if it does not work I will go back to my previous Java version :-(

Author:  nixnut [ Thu May 11, 2006 10:24 am ]
Post subject: 

try emerge sys-libs/libstdc++-v3

Author:  pvdabeel [ Thu May 11, 2006 10:44 am ]
Post subject: 

Quote:
oops... that was a bad idea : now when I do a java command I have a "loading error" :
Quote:
Erreur de chargement : libstdc++.so.5: cannot open shared object file: No such file or directory
I've also downloaded a 48Mb JRE 1.5 file ( ibm-java2-jre-50-linux-ppc.tgz) from IBM's website but it seems that there is no ebuild.
How can I use it anyway ?

I guess that if it does not work I will go back to my previous Java version :-(
You get that error because that java was built against libstdc++.so.5 while your gentoo operating system uses a more recent version. You can fix this by installing libstdc++.so.5 and you do that using the following command:

emerge sys-libs/libstdc++-v3

After that your java should work fine.

Author:  lugduweb [ Fri May 12, 2006 10:23 am ]
Post subject: 

It works now !
Thank you ;-)

Author:  bbrv [ Sun May 14, 2006 9:00 am ]
Post subject: 

Thanks to all of you![/b]

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/