Package: jabref Version: 3.8.2+ds-5 Severity: normal Dear Maintainer,
I recently tried to start JabRef using my default Java8 version. I got the following error: Unrecognized option: --add-modules=java.se.ee Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I realised, that --add-modules=java.se.ee might be needed for Java9, so I installed openjdk-9-jre which solved the problem. Just for completnes the output of DEBUG_WRAPPER=1 jabref --debug and dpkg -l "openjdk*" before and after the update to java9: ############## Before Update #################### # DEBUG_WRAPPER=1 jabref --debug [debug] /usr/bin/jabref: Found JAVA_HOME = '/usr/lib/jvm/java-8-openjdk-amd64' [debug] /usr/bin/jabref: Found JAVA_CMD = '/usr/lib/jvm/java-8-openjdk-amd64/bin/java' [debug] /usr/bin/jabref: Environment variable CLASSPATH is '' [debug] /usr/bin/jabref: Runnning /usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /usr/share/java/jabref.jar:/usr/share/java/bcprov.jar:/usr/share/java/antlr3-runtime.jar:/usr/share/java/antlr4-runtime.jar:/usr/share/java/com.android.json.jar:/usr/share/java/commons-cli.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-lang3.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fontbox.jar:/usr/share/java/glazedlists.jar:/usr/share/java/guava.jar:/usr/share/java/httpasyncclient.jar:/usr/share/java/httpclient.jar:/usr/share/java/httpcore.jar:/usr/share/java/httpcore-nio.jar:/usr/share/java/httpmime.jar:/usr/share/java/java-string-similarity.jar:/usr/share/java/jempbox.jar:/usr/share/java/jgoodies-common.jar:/usr/share/java/jgoodies-forms.jar:/usr/share/java/jgoodies-looks.jar:/usr/share/java/jhlabs-filters.jar:/usr/share/java/jsoup.jar:/usr/share/java/juh.jar:/usr/share/java/jurt.jar:/usr/share/java/log4j-api.jar:/usr/share/java/log4j-core.jar:/usr/share/java/log4j-jcl.jar:/usr/share/java/microba.jar:/usr/share/java/mysql-connector-java.jar:/usr/share/java/pdfbox.jar:/usr/share/java/postgresql.jar:/usr/share/java/ridl.jar:/usr/share/java/spin.jar:/usr/share/java/swingx.jar:/usr/share/java/swing-layout.jar:/usr/share/java/unirest-java.jar:/usr/share/java/unoil.jar --add-modules=java.se.ee --add-opens=java.desktop/java.awt=ALL-UNNAMED net.sf.jabref.JabRefMain --debug Unrecognized option: --add-modules=java.se.ee Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. # dpkg -l "openjdk*" Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=============================================================-===================================-===================================-================================================================================================================================ un openjdk-6-jre <none> <none> (no description available) un openjdk-6-jre-headless <none> <none> (no description available) rc openjdk-7-jre-headless:amd64 7u111-2.6.7-2~deb8u1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) un openjdk-7-jre-lib <none> <none> (no description available) un openjdk-8-demo <none> <none> (no description available) ii openjdk-8-jdk:amd64 8u171-b11-2 amd64 OpenJDK Development Kit (JDK) ii openjdk-8-jdk-headless:amd64 8u171-b11-2 amd64 OpenJDK Development Kit (JDK) (headless) ii openjdk-8-jre:amd64 8u171-b11-2 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-8-jre-headless:amd64 8u171-b11-2 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) un openjdk-8-source <none> <none> (no description available) ############# After Update ############### # DEBUG_WRAPPER=1 jabref --debug [debug] /usr/bin/jabref: Picking up the JVM designated by the alternatives system: [debug] /usr/bin/jabref: JAVA_HOME = '/usr/lib/jvm/java-9-openjdk-amd64' [debug] /usr/bin/jabref: Found JAVA_HOME = '/usr/lib/jvm/java-9-openjdk-amd64' [debug] /usr/bin/jabref: Found JAVA_CMD = '/usr/lib/jvm/java-9-openjdk-amd64/bin/java' [debug] /usr/bin/jabref: Environment variable CLASSPATH is '' [debug] /usr/bin/jabref: Runnning /usr/lib/jvm/java-9-openjdk-amd64/bin/java -classpath /usr/share/java/jabref.jar:/usr/share/java/bcprov.jar:/usr/share/java/antlr3-runtime.jar:/usr/share/java/antlr4-runtime.jar:/usr/share/java/com.android.json.jar:/usr/share/java/commons-cli.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-lang3.jar:/usr/share/java/commons-logging.jar:/usr/share/java/fontbox.jar:/usr/share/java/glazedlists.jar:/usr/share/java/guava.jar:/usr/share/java/httpasyncclient.jar:/usr/share/java/httpclient.jar:/usr/share/java/httpcore.jar:/usr/share/java/httpcore-nio.jar:/usr/share/java/httpmime.jar:/usr/share/java/java-string-similarity.jar:/usr/share/java/jempbox.jar:/usr/share/java/jgoodies-common.jar:/usr/share/java/jgoodies-forms.jar:/usr/share/java/jgoodies-looks.jar:/usr/share/java/jhlabs-filters.jar:/usr/share/java/jsoup.jar:/usr/share/java/juh.jar:/usr/share/java/jurt.jar:/usr/share/java/log4j-api.jar:/usr/share/java/log4j-core.jar:/usr/share/java/log4j-jcl.jar:/usr/share/java/microba.jar:/usr/share/java/mysql-connector-java.jar:/usr/share/java/pdfbox.jar:/usr/share/java/postgresql.jar:/usr/share/java/ridl.jar:/usr/share/java/spin.jar:/usr/share/java/swingx.jar:/usr/share/java/swing-layout.jar:/usr/share/java/unirest-java.jar:/usr/share/java/unoil.jar --add-modules=java.se.ee --add-opens=java.desktop/java.awt=ALL-UNNAMED net.sf.jabref.JabRefMain --debug 14:37:15.125 [AWT-EventQueue-0] DEBUG net.sf.jabref.logic.logging.JabRefLogger - Showing debug messages 14:37:15.127 [AWT-EventQueue-0] DEBUG net.sf.jabref.cli.ArgumentProcessor - Finished export 14:37:15.136 [AWT-EventQueue-0] WARN net.sf.jabref.JabRefGUI - There seem to be problems with OpenJDK and the default GTK Look&Feel. Using Metal L&F instead. Change to another L&F with caution. 14:37:15.174 [AWT-EventQueue-0] INFO net.sf.jabref.logic.importer.OpenDatabase - Opening: /home/gocht/Dokumente/paper/reference_library.bib 14:37:15.382 [AWT-EventQueue-0] DEBUG net.sf.jabref.logic.importer.OpenDatabase - Synchronized special fields based on keywords 14:37:15.471 [AWT-EventQueue-0] DEBUG net.sf.jabref.JabRefGUI - Initializing frame 14:37:16.296 [AWT-EventQueue-0] DEBUG net.sf.jabref.JabRefGUI - Finished adding panels 14:37:18.702 [AWT-EventQueue-0] DEBUG net.sf.jabref.logic.remote.server.RemoteListenerServerThread - Interrupting JabRef - Remote Listener Server on port 6050 14:37:18.702 [FileUpdateMonitor] DEBUG net.sf.jabref.collab.FileUpdateMonitor - FileUpdateMonitor has been interrupted. Terminating... java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) ~[?:?] at net.sf.jabref.collab.FileUpdateMonitor.run(FileUpdateMonitor.java:43) [JabRef-3.8.2.jar:?] at net.sf.jabref.JabRefExecutorService$NamedRunnable.run(JabRefExecutorService.java:96) [JabRef-3.8.2.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at java.lang.Thread.run(Thread.java:844) [?:?] # dpkg -l "openjdk*" Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=============================================================-===================================-===================================-================================================================================================================================ un openjdk-6-jre <none> <none> (no description available) un openjdk-6-jre-headless <none> <none> (no description available) rc openjdk-7-jre-headless:amd64 7u111-2.6.7-2~deb8u1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) un openjdk-7-jre-lib <none> <none> (no description available) un openjdk-8-demo <none> <none> (no description available) ii openjdk-8-jdk:amd64 8u171-b11-2 amd64 OpenJDK Development Kit (JDK) ii openjdk-8-jdk-headless:amd64 8u171-b11-2 amd64 OpenJDK Development Kit (JDK) (headless) ii openjdk-8-jre:amd64 8u171-b11-2 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-8-jre-headless:amd64 8u171-b11-2 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) un openjdk-8-source <none> <none> (no description available) ii openjdk-9-jre:amd64 9.0.4+12-4 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-9-jre-headless:amd64 9.0.4+12-4 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (900, 'stable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE= (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages jabref depends on: ii java-wrappers 0.3 ii libandroid-json-java 7.0.0+r33-1 ii libantlr3-runtime-java 3.5.2-9 ii libantlr4-runtime-java 4.5.3-2 ii libbcprov-java 1.59-1 ii libcommons-cli-java 1.4-1 ii libcommons-lang3-java 3.7-1 ii libcommons-logging-java 1.2-2 ii libglazedlists-java 1.9.1-2 ii libguava-java 19.0-1 ii libhttpasyncclient-java 4.1.3-1 ii libhttpclient-java 4.5.5-1 ii libhttpmime-java 4.5.5-1 ii libjava-string-similarity-java 0.24-1 ii libjempbox-java 1:1.8.13-2 ii libjgoodies-common-java 1.8.1-2 ii libjgoodies-forms-java 1.9.0-3 ii libjgoodies-looks-java 2.7.0-3 ii libjhlabs-filters-java 2.0.235-3 ii libjsoup-java 1.10.2-2 ii liblog4j2-java 2.10.0-2 ii libmicroba-java 1:0.4.4.3-5 ii libpdfbox-java 1:1.8.13-2 ii libreoffice-java-common 1:6.0.4-1 ii libspin-java 1.5+dfsg-8 ii libswing-layout-java 1.0.4-4 ii libswingx-java 1:1.6.2-3 ii libunirest-java-java 1.4.8-2 Versions of packages jabref recommends: ii libmysql-java 5.1.45-1 ii libpostgresql-jdbc-java 42.2.2-1 ii libreoffice-writer 1:6.0.4-1 ii xdg-utils 1.1.3-1 Versions of packages jabref suggests: ii ghostscript [postscript-viewer] 9.22~dfsg-2.1 ii okular [postscript-viewer] 4:17.12.2-2 pn xpdf | pdf-viewer <none> -- no debconf information