techmaker Posted August 19, 2006 Share Posted August 19, 2006 Installed JasperIntelligence with iReports on Ubuntu 6.06. When I try to start iReport I receive the following error: Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.7) at java.awt.Window.<init>(libgcj.so.7) at java.awt.Frame.<init>(libgcj.so.7) at java.awt.Frame.<init>(libgcj.so.7) at javax.swing.SwingUtilities$OwnerFrame.<init>(libgcj.so.7) at javax.swing.SwingUtilities.getOwnerFrame(libgcj.so.7) at javax.swing.JDialog.<init>(libgcj.so.7) at javax.swing.JDialog.<init>(libgcj.so.7) at it.businesslogic.ireport.gui.SplashDialog.<init>(SplashDialog.java:18) at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7081)Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit at java.lang.Class.forName(libgcj.so.7) at java.lang.Class.forName(libgcj.so.7) at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7) ...10 more I did copy the tools.jar file to the iReport/lib directory...what else am I missing. My JDK is 1.4.2 Link to comment Share on other sites More sharing options...
techmaker Posted August 19, 2006 Author Share Posted August 19, 2006 ok I now installed libgcj and now I receive the error... Cannot find lib in iReport home directory Link to comment Share on other sites More sharing options...
mmflynn Posted December 16, 2006 Share Posted December 16, 2006 Hi there--any ideas on this one? I installed iReports on Ubuntu 6.06 and get the same error message. I am a Linux novice... Mary Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.7) at java.awt.Window.<init>(libgcj.so.7) at java.awt.Frame.<init>(libgcj.so.7) at java.awt.Frame.<init>(libgcj.so.7) at javax.swing.SwingUtilities$OwnerFrame.<init>(libgcj.so.7) at javax.swing.SwingUtilities.getOwnerFrame(libgcj.so.7) at javax.swing.JDialog.<init>(libgcj.so.7) at javax.swing.JDialog.<init>(libgcj.so.7) at it.businesslogic.ireport.gui.SplashDialog.<init>(SplashDialog.java:44) at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7443)Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit at java.lang.Class.forName(libgcj.so.7) at java.lang.Class.forName(libgcj.so.7) at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7) ...10 more Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now