public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "greenrd at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/27265] New: ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit Date: Sun, 23 Apr 2006 00:32:00 -0000 [thread overview] Message-ID: <bug-27265-11308@http.gcc.gnu.org/bugzilla/> (raw) On x86_64, the following test produces an error: public class TestAWT { public static void main (String args[]) { new java.awt.Frame(); } } 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 TestAWT.main (TestAWT.java:3) Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit at java.lang.Class.forName (libgcj.so.7) at java.awt.Toolkit.getDefaultToolkit (libgcj.so.7) ...5 more strace shows that it is not opening the 64-bit lib. It is opening the 32-bit lib, however! $ strace -f -e trace=file gij41 TestAWT 2>&1|grep -i gtk [pid 20278] open("/lib/lib-gnu-java-awt-peer-gtk-GtkToolkit.la", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("/usr/lib/lib-gnu-java-awt-peer-gtk-GtkToolkit.la", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("lib-gnu-java-awt-peer-gtk-GtkToolkit.la", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] access("/lib/lib-gnu-java-awt-peer-gtk-GtkToolkit.so", R_OK) = -1 ENOENT (No such file or directory) [pid 20278] access("/usr/lib/lib-gnu-java-awt-peer-gtk-GtkToolkit.so", R_OK) = -1 ENOENT (No such file or directory) [pid 20278] open("/usr/lib64/../lib64/lib-gnu-java-awt-peer-gtk-GtkToolkit.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("/usr/lib64/../lib64/lib-gnu-java-awt-peer-gtk-GtkToolkit.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("/lib64/tls/lib-gnu-java-awt-peer-gtk-GtkToolkit.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("/lib64/lib-gnu-java-awt-peer-gtk-GtkToolkit.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("/usr/lib64/lib-gnu-java-awt-peer-gtk-GtkToolkit.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("/lib/lib-gnu-java-awt-peer-gtk.la", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("/usr/lib/lib-gnu-java-awt-peer-gtk.la", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] open("lib-gnu-java-awt-peer-gtk.la", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 20278] access("/lib/lib-gnu-java-awt-peer-gtk.so", R_OK) = -1 ENOENT (No such file or directory) [pid 20278] access("/usr/lib/lib-gnu-java-awt-peer-gtk.so", R_OK) = 0 [pid 20278] open("/usr/lib/lib-gnu-java-awt-peer-gtk.so", O_RDONLY) = 4 java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit -- Summary: ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27265
next reply other threads:[~2006-04-23 0:32 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-04-23 0:32 greenrd at gcc dot gnu dot org [this message] 2006-04-23 2:14 ` [Bug libgcj/27265] " greenrd at gcc dot gnu dot org 2006-04-23 2:19 ` pinskia at gcc dot gnu dot org
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=bug-27265-11308@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@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: linkBe 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).