Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3791

VAqua5-patch.jar does not work (on a mac) with latest AdoptOpenJDK 11 (11.0.9.1+1)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: gui, java11
    • Labels:
      None
    • Environment:
      macOS (using VAqua which is default)
      AdoptOpenJDK 11 v11.0.9.1+1
    • Urgency:
      Not urgent

      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)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: