Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8308477

Binary with jlink + jpackage fails to start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 21
    • 21
    • tools
    • aarch64

      ADDITIONAL SYSTEM INFORMATION :
      Mac OS M1 Ventura 13.3.1. openjdk-21-ea+23_macos-aarch64_bin
      But it seems like it crashes on other OSes as well.

      A DESCRIPTION OF THE PROBLEM :
      Running a modularized binary with jlink + jpackage from ea 21 (build 23) (using gradle toolchain) crashes on startup with a JVM error.

      REGRESSION : Last worked in version 20.0.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Either download a binary from the CI build:
      https://builds.jabref.org/pull/9919/merge/ (prebuilt binaries)
      https://github.com/JabRef/jabref/pull/9919 (source code)
      Execute JabRef from bin/JabRef

      Or run locally with
       ./gradlew -Porg.gradle.java.installations.paths=<path to jdk21> jpackage
      Go to build/image/bin and execute JabRef



      ACTUAL -
      Application crashes on startup and

      ---------- BEGIN SOURCE ----------
      https://github.com/JabRef/jabref/pull/9919
       ./gradlew -Porg.gradle.java.installations.paths=<path to jdk21> jpackage
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Stay on jdk 20

      FREQUENCY : always


            asotona Adam Sotona
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: