Linux Error
I hope this is the right forum, if not, please move it :)
I am currently in the process of learning java. I installed JDK and "Eclipse" on my ubuntu linux computer (debain based. Version 5.10). I am reading the book " Sams Programing with Java in 24 Hours" (www.java24hours.com). I am having trouble when trying to use JFrame. The following error comes up in Eclipse (similar error to JDK):
** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)
aborting...
The source code of the application I was trying can be found here:
http://www.cadenhead.org/book/java-24-hours/source/chapter13/SalutonFrame.java
Is there any update or patch etc. that I could use to fix this error? I would prefer not to have to restart into windows :( (though I can if need be)
[887 byte] By [
JoshHendoa] at [2007-10-2 10:38:13]

I have the same problem on ubuntu linux. I am trying to run the Sun Download Manager, and it generates this error on startup.
** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)
aborting...
./sdm.sh: line 54: 10722 Abortedjava -Dhomedir=$SDM_HOME -Dpropdir=$SDM_PROP com.sun.sdm.SunDownloadManager $*
ERROR: Java interpreter reported a problem executing the program. Please, check the
ERROR: output log.
I'm also interested in figuring out what to do to fix it.
Thanks for any ideas.
For anyone who runs into this problem, it is related to the default java re installed on ubuntu, which is gnu-java. Install sun's java, and then modify the script sdm.sh to point to the sun java.
http://ubuntuforums.org/archive/index.php/t-78592.html
Not sure exactly how to make eclipse point to the right java - haven't used eclipse. My installation of netbeans (which I installed bundled with java 1.5) of course points to the java it came bundled with...