Independent of the "Java is completely broken" issue, I do think the originally stated case of "ca-certificate-java should support openjdk-8" is still totally valid. Installing this package seems to bring in java 7 even when you already have 8 installed.
The current situation is pretty ridiculous. Java 7 is EOL and not useful to the majority of users of the most popular languages on the planet. Java 8 is only available via an unsupported PPA, and any attempt to get support (either here, or on the PPA, or via the request process to get Java 8 added to Trusty) has simply failed. I hate being that guy whining on the bug tracker, but Ubuntu is really dropping the ball on this one. Just look at the request for an official Java 8 packaging: https://bugs.launchpad.net/trusty- backports/+bug/1368094 with 750 "+1"s. The community is trying to work with Ubuntu to highlight this and get it fixed, but every attempt either gets ignored or closed as invalid... -- You received this bug notification because you are a member of OpenJDK, which is subscribed to ca-certificates-java in Ubuntu. https://bugs.launchpad.net/bugs/1706442 Title: please add support for openjdk-8 Status in ca-certificates-java package in Ubuntu: Invalid Bug description: Please add support for OpenJDK 8. I conjecture that this can be done by adding the relevant packages to the postinst script (see links). 1) $ lsb_release -rd Description: Ubuntu 14.04.5 LTS Release: 14.04 2) $ apt-cache policy ca-certificates-java ca-certificates-java: Installed: 20130815ubuntu1 Candidate: 20130815ubuntu1 Version table: *** 20130815ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status 3-4) Cannot update openjdk-8 due to unmet dependencies. $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. $ sudo apt-get install openjdk-8-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: openjdk-8-jre-headless : Depends: ca-certificates-java but it is not going to be installed E: Unable to correct problems, you have held broken packages. $ aptitude why-not ca-certificates-java i ca-certificates-java Depends openjdk-7-jre-headless (>= 7~u3-2.1.1~pre1-1 ) | java6-runtime-headless p A openjdk-8-jre-headless Provides java6-runtime-headless p A openjdk-8-jre-headless Breaks ca-certificates-java (< 20160321~) Links: * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851667 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775775 * https://anonscm.debian.org/viewvc/pkg-java/trunk/ca-certificates-java/debian/postinst.in?r1=19012&r2=19013 This is the first Ubuntu bug report I have filed. Please excuse any bureaucratic errors I may have made. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1706442/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : [email protected] Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp

