java.awt.AWTError

Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit

Samebug tips1

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web41

  • via openoffice.org by Unknown author, 10 months ago
    Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
  • Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
  • via fullsync by emann
    , 1 year ago
    Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
  • Stack trace

    • java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70) at java.awt.Font.tk(libgcj.so.70) at java.awt.Font.getPeerFromToolkit(libgcj.so.70) at java.awt.Font.<init>(libgcj.so.70) at javax.swing.plaf.FontUIResource.<init>(libgcj.so.70) at javax.swing.plaf.metal.DefaultMetalTheme.<clinit>(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(libgcj.so.70) at javax.swing.plaf.metal.MetalLookAndFeel.<init>(libgcj.so.70) at javax.swing.UIManager.<clinit>(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) at robocode.Robocode.initialize(Unknown Source) at robocode.Robocode.main(Unknown Source) Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: kan inte öppna delad objektfil: Filen eller katalogen finns inte at java.lang.Runtime._load(libgcj.so.70) at java.lang.Runtime.loadLibrary(libgcj.so.70) at java.lang.System.loadLibrary(libgcj.so.70) at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)

    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

    4 times, 1 month ago
    Unknown user
    Once, 1 month ago
    2 times, 2 months ago
    Unknown user
    Once, 3 months ago
    8 times, 4 months ago
    257 more bugmates