java.lang.NoClassDefFoundError

Could not initialize class java.awt.Toolkit


Solutions on the web5406

Solution icon of github
Could not initialize class java.awt.Toolkit

Solution icon of googlegroups
via Google Groups by carlo pacioni, 7 months ago
Could not initialize class java.awt.Toolkit

Solution icon of web
Could not initialize class java.awt.Toolkit

Solution icon of stackoverflow
Could not initialize class java.awt.Toolkit

Solution icon of github
via GitHub by dboissier
, 1 year ago
Could not initialize class java.awt.Toolkit

Solution icon of stackexchange-apple
Could not initialize class java.awt.Toolkit

Solution icon of stackoverflow
Could not initialize class java.awt.Toolkit

Solution icon of googlegroups
via Google Groups by Christoph Kutzinski, 3 weeks ago
Could not initialize class java.awt.Toolkit

Solution icon of stackexchange-askubuntu
Could not initialize class java.awt.Toolkit

Solution icon of stackoverflow
Could not initialize class java.awt.Toolkit

Stack trace

  • java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit at java.awt.Color.<clinit>(Color.java:275) at javax.swing.plaf.metal.MetalTheme.<clinit>(MetalTheme.java:76) at javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:1672) at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:1569) at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1591) at javax.swing.UIManager.setLookAndFeel(UIManager.java:536) at javax.swing.UIManager.setLookAndFeel(UIManager.java:576) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1345) at javax.swing.UIManager.initialize(UIManager.java:1455) at javax.swing.UIManager.maybeInitialize(UIManager.java:1422) at javax.swing.UIManager.getLookAndFeel(UIManager.java:489) at org.netbeans.installer.utils.UiUtils.getLAF(UiUtils.java:516) at org.netbeans.installer.utils.UiUtils.initializeLookAndFeel(UiUtils.java:453) at org.netbeans.installer.wizard.Wizard.newWizardContainer(Wizard.java:493) at org.netbeans.installer.wizard.Wizard.open(Wizard.java:527) at org.netbeans.installer.Installer.start(Installer.java:144) at org.netbeans.installer.Installer.main(Installer.java:81)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago