Hi. Please see the attached 'sun-jdk-1.4.0.01.ebuild' file which is an updated version of the 'sun-jdk-1.4.0-r2.ebuild' file. The new ebuild installs the newly available 1.4.0_01 version of the Sun SDK. There were a few minor mods but it was used to install the new version on my machine. Steve
Created attachment 1418 [details] sun-jdk-1.4.0.01.ebuild
Created attachment 1451 [details] new sun-jdk-1.4.0.01.ebuild - fixes java plugin installation I didn't noticed that there was already an ebuild for sun-jdk-1.4.0.01 in bugzilla so I made another one. The only difference is that this one installs the mozilla java plugin properly: --- sun-jdk-1.4.0.01.ebuild.old Tue Jun 11 11:21:25 2002 +++ sun-jdk-1.4.0.01.ebuild Tue Jun 11 11:22:30 2002 @@ -45,9 +45,9 @@ dodir /opt/${P}/share/ cp -a demo src.zip ${D}/opt/${P}/share/ - if [ "`use mozilla`" ] ; then + if [ "`use mozilla`" ] ; then dodir /usr/lib/mozilla/plugins - dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so /usr/lib/mozilla/plugins/ + dosym /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/ fi dodir /etc/env.d/java @@ -61,10 +61,10 @@ pkg_postinst () { if [ "`use mozilla`" ] ; then - einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/libjavaplugin_oji140.so" + einfo "The Mozilla browser plugin has been installed as /usr/lib/mozilla/plugins/libjavaplugin_oji.so" else einfo "To install the Java plugin for Mozilla manually, do:" - einfo "ln -s /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji140.so /usr/lib/mozilla/plugins/" + einfo "ln -s /opt/${P}/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/" einfo "(Make certain the directory /usr/lib/mozilla/plugins exists first)" fi }
Created attachment 1452 [details] sun-jdk-1.4.0.01 settings for java-config This is a verbatim copy of dev-java/sun-jdk/sun-jdk-1.4.0
I just noticed that this bug is also an duplicate of #3371 #3372 and #3565... I wonder how many more duplicate bugs it's gonna take to someone finally put one of these ebuilds on portage...
Jose, Steve, Paul, et al. Perhaps one of us java guys should ask for commit privs to the portage CVS to watch over binary Sun JDK releases. karltk currently has 38 bugs assigned to him... michael
*** Bug 3737 has been marked as a duplicate of this bug. ***
*** Bug 3798 has been marked as a duplicate of this bug. ***
There is a real chance we will drop the Sun and IBM from Portage in the not-so-distant future, as they require an unecessary amount of maintenance as we are not allowed to mirror their files. An alternative fix is being discussed, as many people need/want these Sun/JDK offerings.
Hi Matthew, more work for you (duplicates of earlier bugs, no doubt).