Your message dated Mon, 04 Jun 2018 21:29:13 +0000
with message-id <[email protected]>
and subject line Bug#898042: Removed package(s) from unstable
has caused the Debian Bug report #894155,
regarding openjdk-9-jre: "Minecraft.jar" no longer running via binfmt misc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
894155: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894155
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openjdk-9-jre
Version: 9.0.4+12-2
Severity: important

Dear Maintainer,

After a recent upgrade I am now seeing:

    $ ./Minecraft.jar 
    can't locate java: No such file or directory

At the weekend I updated my (slightly out of date) Buster system, picking up
new versions of many Java packages including:

    $ grep -iE 'jdk|jre' /var/log/dpkg.log | grep upgrade\\b
    2018-03-25 13:18:30 upgrade default-jdk:amd64 2:1.8-59 2:1.9-62
    2018-03-25 13:18:31 upgrade default-jdk-headless:amd64 2:1.8-59 2:1.9-62
    2018-03-25 13:18:31 upgrade default-jre:amd64 2:1.8-59 2:1.9-62
    2018-03-25 13:18:31 upgrade default-jre-headless:amd64 2:1.8-59 2:1.9-62
    2018-03-25 13:18:32 upgrade openjdk-8-jdk:amd64 8u151-b12-1 8u162-b12-1
    2018-03-25 13:18:32 upgrade openjdk-8-jre:amd64 8u151-b12-1 8u162-b12-1
    2018-03-25 13:18:32 upgrade openjdk-8-jdk-headless:amd64 8u151-b12-1 
8u162-b12-1
    2018-03-25 13:18:34 upgrade openjdk-8-jre-headless:amd64 8u151-b12-1 
8u162-b12-1

(and a whole load of lib*-java too). I seem to have jdk 9 as the default for
relevant looking things:

    $ sudo update-alternatives --display java
    java - auto mode
      link best version is /usr/lib/jvm/java-9-openjdk-amd64/bin/java
      link currently points to /usr/lib/jvm/java-9-openjdk-amd64/bin/java
      link java is /usr/bin/java
      slave java.1.gz is /usr/share/man/man1/java.1.gz
    /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java - priority 1081
      slave java.1.gz: /usr/lib/jvm/java-8-openjdk-amd64/jre/man/man1/java.1.gz
    /usr/lib/jvm/java-9-openjdk-amd64/bin/java - priority 1091
      slave java.1.gz: /usr/lib/jvm/java-9-openjdk-amd64/man/man1/java.1.gz
    $ sudo update-alternatives --display jexec
    jexec - auto mode
      link best version is /usr/lib/jvm/java-9-openjdk-amd64/lib/jexec
      link currently points to /usr/lib/jvm/java-9-openjdk-amd64/lib/jexec
      link jexec is /usr/bin/jexec
      slave jexec-binfmt is /usr/share/binfmts/jar
    /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec - priority 1081
      slave jexec-binfmt: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jar.binfmt
    /usr/lib/jvm/java-9-openjdk-amd64/lib/jexec - priority 1091
      slave jexec-binfmt: /usr/lib/jvm/java-9-openjdk-amd64/lib/jar.binfmt

I've tried fiddling with the update-java-alternatives selection but without any
luck.

Manually invoking the jdk8 jexec I get:

    $ /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec Minecraft.jar 
    invalid file (bad magic number): Exec format error

Manually invoking the jdk9 jexec I get:

    $ /usr/lib/jvm/java-9-openjdk-amd64/lib/jexec Minecraft.jar 
    can't locate java: No such file or directory

Possibly also of interest:

    $ strace /usr/lib/jvm/java-9-openjdk-amd64/lib/jexec Minecraft.jar
    execve("/usr/lib/jvm/java-9-openjdk-amd64/lib/jexec", 
["/usr/lib/jvm/java-9-openjdk-amd6"..., "Minecraft.jar"], 0x7ffee6c16608 /* 52 
vars */) = 0
    brk(NULL)                               = 0x55ccf1504000
    access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
    access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
    openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=278790, ...}) = 0
    mmap(NULL, 278790, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f97611e4000
    close(3)                                = 0
    access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
    openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, 
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\33\2\0\0\0\0\0"..., 832) = 
832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1800248, ...}) = 0
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f97611e2000
    mmap(NULL, 3906368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f9760c4b000
    mprotect(0x7f9760dfc000, 2093056, PROT_NONE) = 0
    mmap(0x7f9760ffb000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b0000) = 0x7f9760ffb000
    mmap(0x7f9761001000, 15168, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9761001000
    close(3)                                = 0
    arch_prctl(ARCH_SET_FS, 0x7f97611e3500) = 0
    mprotect(0x7f9760ffb000, 16384, PROT_READ) = 0
    mprotect(0x55ccf13eb000, 4096, PROT_READ) = 0
    mprotect(0x7f9761229000, 4096, PROT_READ) = 0
    munmap(0x7f97611e4000, 278790)          = 0
    lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=73728, ...}) = 0
    lstat("/usr/lib/jvm", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    lstat("/usr/lib/jvm/java-9-openjdk-amd64", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
    lstat("/usr/lib/jvm/java-9-openjdk-amd64/jre", 0x7ffe41b91f10) = -1 ENOENT 
(No such file or directory)
    dup(2)                                  = 3
    fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
    brk(NULL)                               = 0x55ccf1504000
    brk(0x55ccf1525000)                     = 0x55ccf1525000
    fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
    write(3, "can't locate java: No such file "..., 45can't locate java: No 
such file or directory
    ) = 45
    close(3)                                = 0
    exit_group(1)                           = ?
    +++ exited with 1 +++
    
Finally, and this may be a separate issue, if I manually invoke as:

    $ /usr/lib/jvm/java-9-openjdk-amd64/bin/java -jar Minecraft.jar

Then the launcher UI comes up OK but the actual game seems to crash. If instead
I invoke as:

    $ /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar Minecraft.jar

Then everything seems to work fine.

I think this might be the game crash with version 9 is because it is trying to
use the CMSIncrementalMode which apparently is no longer supported in version
9.

Thanks,
Ian.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openjdk-8-jre depends on:
ii  libasound2               1.1.3-5
ii  libatk-wrapper-java-jni  0.33.3-20
ii  libc6                    2.27-2
ii  libgif7                  5.1.4-2
ii  libgl1                   1.0.0-2
ii  libgl1-mesa-glx          17.3.6-1
ii  libglib2.0-0             2.56.0-2
ii  libgtk-3-0               3.22.29-1
ii  libjpeg62-turbo          1:1.5.2-2+b1
ii  libpng16-16              1.6.34-1
ii  libpulse0                11.1-4
ii  libx11-6                 2:1.6.5-1
ii  libxext6                 2:1.3.3-1+b2
ii  libxinerama1             2:1.1.3-1+b3
ii  libxrandr2               2:1.5.1-1
ii  openjdk-8-jre-headless   8u162-b12-1
ii  zlib1g                   1:1.2.8.dfsg-5

Versions of packages openjdk-8-jre recommends:
ii  fonts-dejavu-extra  2.37-1

Versions of packages openjdk-8-jre suggests:
ii  icedtea-8-plugin  1.6.2-3.1

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 9.0.4+12-4+rm

Dear submitter,

as the package openjdk-9 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/898042

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to