Details
Description
(First reported in JAL-3130)
AdoptOpenJDK Java 11.0.9.1+1 JRE for macOS DOES NOT WORK with Jalview on macOS, possibly down to something in VAqua.
The not-much-older Java 11.0.9+11.1 JRE does work.
Odd for a minor minor version change. Not immediately obvious from the changelog what it might be.
The following exception is given:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/image/MultiResolutionImage
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at org.violetlib.aqua.JavaSupport.findImpl(Unknown Source)
at org.violetlib.aqua.JavaSupport.<clinit>(Unknown Source)
at org.violetlib.aqua.AquaLookAndFeel.initialize(Unknown Source)
at java.desktop/javax.swing.UIManager.setLookAndFeel(Unknown Source)
at java.desktop/javax.swing.UIManager.setLookAndFeel(Unknown Source)
at jalview.bin.Jalview.setSpecificLookAndFeel(Jalview.java:990)
at jalview.bin.Jalview.setVaquaLookAndFeel(Jalview.java:1029)
at jalview.bin.Jalview.setMacLookAndFeel(Jalview.java:1043)
at jalview.bin.Jalview.setLookAndFeel(Jalview.java:935)
at jalview.bin.Jalview.doMain(Jalview.java:377)
at jalview.bin.Jalview.main(Jalview.java:210)
AdoptOpenJDK Java 11.0.9.1+1 JRE for macOS DOES NOT WORK with Jalview on macOS, possibly down to something in VAqua.
The not-much-older Java 11.0.9+11.1 JRE does work.
Odd for a minor minor version change. Not immediately obvious from the changelog what it might be.
The following exception is given:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/image/MultiResolutionImage
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(Unknown Source)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at org.violetlib.aqua.JavaSupport.findImpl(Unknown Source)
at org.violetlib.aqua.JavaSupport.<clinit>(Unknown Source)
at org.violetlib.aqua.AquaLookAndFeel.initialize(Unknown Source)
at java.desktop/javax.swing.UIManager.setLookAndFeel(Unknown Source)
at java.desktop/javax.swing.UIManager.setLookAndFeel(Unknown Source)
at jalview.bin.Jalview.setSpecificLookAndFeel(Jalview.java:990)
at jalview.bin.Jalview.setVaquaLookAndFeel(Jalview.java:1029)
at jalview.bin.Jalview.setMacLookAndFeel(Jalview.java:1043)
at jalview.bin.Jalview.setLookAndFeel(Jalview.java:935)
at jalview.bin.Jalview.doMain(Jalview.java:377)
at jalview.bin.Jalview.main(Jalview.java:210)