java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

Ask Ubuntu | user unknown | 6 years ago
  1. 0

    java - Exception on Desktop[sic!] sun.awt.X11GraphicsEnvironment - Ask Ubuntu

    askubuntu.com | 5 months ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
  2. 0

    Exception on Desktop[sic!] sun.awt.X11GraphicsEnvironment

    Ask Ubuntu | 6 years ago | user unknown
    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
  3. 0

    How to close connection to GraphicsEnvironment ... | Oracle Community

    oracle.com | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to close connection to GraphicsEnvironment / x-server

    Oracle Community | 4 years ago | 805941
    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
  6. 0

    java.lang.NoClassDefFoundError: Could not initi... | Oracle Community

    oracle.com | 8 months ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class sun.awt.X11GraphicsEnvironment

      at java.lang.Class.forName0()
    2. Java RT
      GraphicsEnvironment.getLocalGraphicsEnvironment
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:186)
      3. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
      3 frames
    3. sun.awt.X11
      XToolkit.<clinit>
      1. sun.awt.X11.XToolkit.<clinit>(XToolkit.java:112)
      1 frame
    4. Java RT
      JOptionPane.showInputDialog
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:186)
      3. java.awt.Toolkit$2.run(Toolkit.java:849)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. java.awt.Toolkit.getDefaultToolkit(Toolkit.java:841)
      6. sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:121)
      7. javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564)
      8. javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147)
      9. javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599)
      10. javax.swing.UIManager.setLookAndFeel(UIManager.java:530)
      11. javax.swing.UIManager.setLookAndFeel(UIManager.java:570)
      12. javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1320)
      13. javax.swing.UIManager.initialize(UIManager.java:1407)
      14. javax.swing.UIManager.maybeInitialize(UIManager.java:1395)
      15. javax.swing.UIManager.getDefaults(UIManager.java:644)
      16. javax.swing.UIManager.getString(UIManager.java:790)
      17. javax.swing.UIManager.getString(UIManager.java:807)
      18. javax.swing.JOptionPane.showInputDialog(JOptionPane.java:476)
      19. javax.swing.JOptionPane.showInputDialog(JOptionPane.java:442)
      19 frames
    5. Unknown
      GuessGame.main
      1. IO.input(GuessGame.java:10)
      2. Player.createPlayer(GuessGame.java:26)
      3. GuessGame.init(GuessGame.java:52)
      4. GuessGame.main(GuessGame.java:85)
      4 frames