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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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.

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

Solutions on the web

via robocode by robopinky
, 1 year ago
Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
via Oracle Community by 807605, 4 months ago
Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
via Oracle Community by 843807, 1 year ago
Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
via Oracle Community by 807605, 4 months ago
Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
via jaspersoft.com by Unknown author, 1 year ago
Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
via Oracle Community by 843798, 1 year ago
Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
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 gnu.java.awt.peer.gtk.GtkToolkit.(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.forName(libgcj.so.70)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.