Package: ca-certificates-java
Version: 20140324

I am having an issue on sid where ca-certificates-java does not find java
when using jdk 8, thus leaving the '/etc/ssl/certs/java/cacerts' uncreated.

Here is the command I run on a fresh system (technically a docker
container, but that is unrelated):
$ apt-get update && apt-get install openjdk-8-jdk='8u40~b09-1'

Here is the truncated output:
Setting up ca-certificates-java (20140324) ...
/var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command
not found
/var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command
not found

I have made a patch of minimal changes (since you may want to tweak the
ordering) to add java-8 to the search paths.

*** 2015-01-19 10:31:22.523025381 -0800
--- 2015-01-19 10:32:18.909532328 -0800
*************** nsslib_name()
*** 27,32 ****
--- 27,33 ----
      for jvm in java-6-openjdk-$arch java-6-openjdk \
+                java-8-openjdk-$arch java-8-openjdk \
                 java-7-openjdk-$arch java-7-openjdk java-6-sun; do
      if [ -x /usr/lib/jvm/$jvm/bin/java ]; then

Here is related discussion:

Joe Ferguson

(thanks to @tianon for his guidance in making this report)
This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to