Jump to content
Changes to the Jaspersoft community edition download ×

Cannot load AWT toolkit


techmaker

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 3 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...