java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

netbeans.org | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Bug 203431 – Cannot install JDK bundle on fresh x64 OS installation

    netbeans.org | 2 years ago
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
  2. 0

    Bug 203431 – Cannot install JDK bundle on fresh x64 OS installation

    netbeans.org | 8 months ago
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class java.awt.Toolkit

      at java.awt.Color.<clinit>()
    2. Java RT
      UIManager.getLookAndFeel
      1. java.awt.Color.<clinit>(Color.java:275)
      2. javax.swing.plaf.metal.MetalTheme.<clinit>(MetalTheme.java:76)
      3. javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:1672)
      4. javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:1569)
      5. javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1591)
      6. javax.swing.UIManager.setLookAndFeel(UIManager.java:536)
      7. javax.swing.UIManager.setLookAndFeel(UIManager.java:576)
      8. javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1345)
      9. javax.swing.UIManager.initialize(UIManager.java:1455)
      10. javax.swing.UIManager.maybeInitialize(UIManager.java:1422)
      11. javax.swing.UIManager.getLookAndFeel(UIManager.java:489)
      11 frames
    3. org.netbeans.installer
      Installer.main
      1. org.netbeans.installer.utils.UiUtils.getLAF(UiUtils.java:516)
      2. org.netbeans.installer.utils.UiUtils.initializeLookAndFeel(UiUtils.java:453)
      3. org.netbeans.installer.wizard.Wizard.newWizardContainer(Wizard.java:493)
      4. org.netbeans.installer.wizard.Wizard.open(Wizard.java:527)
      5. org.netbeans.installer.Installer.start(Installer.java:144)
      6. org.netbeans.installer.Installer.main(Installer.java:81)
      6 frames