RE: [java-gnome-hackers] Debugging Native code
Brought to you by:
afcowie
From: Philip A. C. <pc...@td...> - 2002-09-03 14:12:26
|
Thanks. At least I'm not going insane. I'll do exactly what you suggest and take a long hard look at src/code/jni/java and src/code/jni/glue. I'll also go though the classes and make sure that libGNOMEJava.so is loaded. On Tue, 2002-09-03 at 08:42, Jeffrey Morgan wrote: > The problem you are having is that you are initializing > TestGNOME with a call to Gtk.init(). This will not work > for GNOME applications. You will need to use one of the > GnomeProgram init methods. Also, we need to make sure=20 > that the libGNOMEJava.so shared object is loaded. This > should also happen in the GnomeProgram object. You might > take a look at some old code that is in src/code/jni/java > and src/code/jni/glue for the GnomeProgram object. A > cleaner implementation of this might work. >=20 --=20 Philip A. Chapman |