From: "ffileppo" <ffileppo@libero.it>
To: "java" <java@gcc.gnu.org>
Subject: gcj 4.4 and AWT toolkit
Date: Wed, 30 Jul 2008 19:46:00 -0000 [thread overview]
Message-ID: <K4U49L$C80C0977E33111BC155CFF70536B91EC@libero.it> (raw)
Hi guys,
I'm getting the following exception when I try to run AWT/SWING code using gcj 4.4 (which is using classpath 0.97.2). This is happening on both x86 and arm. It works fine using gcc 4.3
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:607)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:103)
at java.awt.Window.<init>(Window.java:133)
at java.awt.Frame.<init>(Frame.java:246)
at javax.swing.JFrame.<init>(JFrame.java:123)
at MainPanel.main(AWT)
Caused by: java.lang.UnsatisfiedLinkError: initIDs
at gnu.java.awt.peer.gtk.GtkToolkit.initIDs(GtkToolkit.java:137)
at gnu.java.awt.peer.gtk.GtkToolkit.initializeGlobalIDs(GtkToolkit.java:168)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(GtkToolkit.java:183)
at java.lang.Class.initializeClass(natClass.cc:780)
at java.lang.Class.forName(Class.h:742)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:583)
...5 more
Any thoughts or idea?
Thank you,
Francesco
next reply other threads:[~2008-07-30 19:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 19:46 ffileppo [this message]
2008-07-31 8:40 ` Andrew Haley
2008-07-31 11:51 ffileppo
2008-07-31 11:55 ` Andrew Haley
2008-08-01 11:23 ` Mark Wielaard
2008-07-31 12:08 ffileppo
2008-07-31 12:17 ` Andrew Haley
2008-07-31 12:46 ffileppo
2008-07-31 12:51 ` Andrew Haley
2008-07-31 13:09 ffileppo
2008-07-31 14:30 ` Andrew Haley
2008-07-31 18:21 ffileppo
2008-08-01 11:33 ffileppo
2008-08-13 15:43 ffileppo
2008-08-14 13:13 ` Mark Wielaard
2008-08-14 13:24 ffileppo
2008-08-14 16:59 ffileppo
2008-08-14 17:03 ` Andrew Haley
2008-08-17 21:45 ` Mark Wielaard
2008-08-18 18:38 ` Andrew John Hughes
2008-08-21 17:13 ` Tom Tromey
2008-08-22 0:49 ` Andrew John Hughes
2008-08-22 1:15 ` Tom Tromey
2008-08-29 23:21 ` Andrew John Hughes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='K4U49L$C80C0977E33111BC155CFF70536B91EC@libero.it' \
--to=ffileppo@libero.it \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).