Package: java-package
Version: 0.62
Followup-For: Bug #876426

Dear Maintainer,

Oracle has changed the file name pattern so make-jpkg doesn't recognise
it. Renaming it makes make-jpkg create a DEB file as expected (so a
corresponding change to the programs pattern matching function is in
order):

   $ mv jdk-9_linux-x64_bin.tar.gz jdk-9-linux-x64.tar.gz
   $ make-jpkg jdk-9-linux-x64.tar.gz

Upon installing the resulting package:

   # dpkg -i oracle-java9-jdk_9_amd64.deb

JDK 9 is installed into /usr/lib/jvm/oracle-java9-jdk-amd64, however,
not all the symlinks are not updated correctly. e.g. does /usr/bin/java
not point to the newly installed JDK9 (but javac is).


 $ ls -l /etc/alternatives/java*
 lrwxrwxrwx 1 root root 48 Aug  3 06:35 /etc/alternatives/java ->
 /usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/java
 lrwxrwxrwx 1 root root 54 Aug  3 06:35 /etc/alternatives/java.1.gz ->
 /usr/lib/jvm/oracle-java8-jdk-amd64/man/man1/java.1.gz
 lrwxrwxrwx 1 root root 45 Sep 25 09:22 /etc/alternatives/javac ->
 /usr/lib/jvm/oracle-java9-jdk-amd64/bin/javac
 lrwxrwxrwx 1 root root 47 Sep 25 09:22 /etc/alternatives/javadoc ->
 /usr/lib/jvm/oracle-java9-jdk-amd64/bin/javadoc
 lrwxrwxrwx 1 root root 45 Sep 25 09:22 /etc/alternatives/javah ->
 /usr/lib/jvm/oracle-java9-jdk-amd64/bin/javah
 lrwxrwxrwx 1 root root 45 Sep 25 09:22 /etc/alternatives/javap ->
 /usr/lib/jvm/oracle-java9-jdk-amd64/bin/javap
 lrwxrwxrwx 1 root root 50 Aug  3 06:35 /etc/alternatives/javaws ->
 /usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/javaws
 lrwxrwxrwx 1 root root 56 Aug  3 06:35 /etc/alternatives/javaws.1.gz ->
 /usr/lib/jvm/oracle-java8-jdk-amd64/man/man1/javaws.1.gz

Both java and javaws does exist in the installed JDK 9 package, so
there's something else amiss:

 $ ls /usr/lib/jvm/oracle-java9-jdk-amd64/bin/java
 -rwxr-xr-x 1 root root 6.0K Sep 25 09:08 
/usr/lib/jvm/oracle-java9-jdk-amd64/bin/java


Cheers,

-Torstein


-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (700, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.utf8), LANGUAGE=en_GB:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages java-package depends on:
ii  build-essential  12.3
ii  debhelper        10.2.5
ii  dpkg-dev         1.18.24
ii  fakeroot         1.21-3.1
ii  libasound2       1.1.3-5
ii  libfontconfig1   2.11.0-6.7+b1
ii  libgl1-mesa-glx  13.0.6-1+b2
ii  libgtk2.0-0      2.24.31-2
ii  libx11-6         2:1.6.4-3
ii  libxslt1.1       1.1.29-2.1
ii  libxtst6         2:1.2.3-1
ii  libxxf86vm1      1:1.1.4-1+b2
ii  unzip            6.0-21

java-package recommends no packages.

Versions of packages java-package suggests:
pn  openjdk-7-jre  <none>

-- no debconf information

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to