By default the Sun JDK has severe limitations to the crypto strenght. Each jdk release has zip file that removes those limitation. That file is freely downloaded from the same page that the JDK can be downloaded ( under Other downloads / 'Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 1.4.2' for example ) It would be quite convenient if the ebuild would support automatically integrating those file during the emerge ( possibly send a warning if that file is not present ) Reproducible: Always Steps to Reproduce:
Added to sun-jdk-1.4.2.04-r1 USE="ssl" will require that you download JCE unlimited strength package. Installation now allows you to still have strong jce in /opt/sun-jdk-<version>/jre/lib/security/strong-jce, but with the default set as unlimited-jce. Hope this fixes the problem.
# USE="ssl" emerge -av sun-jdk These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds to satisfy "sun-jdk".
(In reply to Arsen Shnurkov from comment #2) > emerge: there are no ebuilds to satisfy "sun-jdk". Why are you replying to a bug that was closed 13 years ago about a long dead package? I did close a similar bug report yesterday but what I said now relates to oracle-jdk-bin and oracle-jre-bin.
because I have similar bug too - https://bugs.gentoo.org/show_bug.cgi?id=618192
it doesn't have ssl USE flag: [ebuild Rf ] dev-java/oracle-jre-bin-1.8.0.131:1.8::gentoo USE="alsa cups fontconfig nsplugin -commercial -headless-awt -javafx -jce (-selinux)" 0 KiB (may be it should be jce now?)