Bug 186036 - GTK java-binding broken
Summary: GTK java-binding broken
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libgtk-java   
(Show other bugs)
Version: 5
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Igor Foox
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-21 07:49 UTC by Tomi Malkki
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-21 10:20:59 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Example application (756 bytes, text/plain)
2006-03-21 07:49 UTC, Tomi Malkki
no flags Details
Example applications glade file (2.66 KB, text/plain)
2006-03-21 07:51 UTC, Tomi Malkki
no flags Details

Description Tomi Malkki 2006-03-21 07:49:40 UTC
Created attachment 126377 [details]
Example application

Comment 1 Tomi Malkki 2006-03-21 07:49:40 UTC
I made simple java gtk-software and got it compiled. When I try to run it, it
fails. Tryed on Fedora Core 4, and it worked on it.

Compiled with: javac -classpath
/usr/share/java/gtk2.8.jar:/usr/share/java/glade2.12.jar Main.java

Runned with: java --classpath
/usr/share/java/gtk2.8.jar:/usr/share/java/glade2.12.jar:. Main
java --classpath
/usr/share/java/gtk2.8-2.8.3.0.20060301.rh1.jar:/usr/share/java/glade2.12-2.12.2.0.20060301.rh1.jar:.
org.manet.Main

Error message when runned: 
Exception in thread "main" java.lang.NoClassDefFoundError: org.gnu.gtk.Gtk
   at java.lang.Class.initializeClass (libgcj.so.7)
   at Main.main (Main.java:28)
Caused by: java.lang.ClassNotFoundException: org.gnu.glib.Struct not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/gtk2.8.jar,file:/usr/share/java/glade2.12.jar,file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass (libgcj.so.7)
   at java.lang.ClassLoader.loadClass (libgcj.so.7)
   at java.lang.ClassLoader.loadClass (libgcj.so.7)
   at java.lang.Class.forName (libgcj.so.7)
   at java.lang.Class.initializeClass (libgcj.so.7)
   ...1 more

Comment 2 Tomi Malkki 2006-03-21 07:51:29 UTC
Created attachment 126378 [details]
Example applications glade file


Note You need to log in before you can comment on or make changes to this bug.