[Kde-java] GCJ and qtjava/kdejava
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Mon Apr 1 17:01:00 GMT 2002
Richard Dale wrote:
>Thanks for the responses to my problem - I've joined the java@gcc.gnu.org list
>now.
>
>I've downloaded and built a gcc-20020325 snapshot, and it has the same bug :-(.
>The only difference was that gcc 3.1 trashed the stack when it crashed.
>
Hi Richard,
I gave your test program a try here and it works fine for me with the
current GCJ 3.1, however I am using qtjava from kdebindings-2.2.2. I
replaced the qtjava.initialize() with System.loadLibrary("qtjava").
It is possible that GCJ is picking up qtjava classes on your CLASSPATH
that do not match the ones you compiled into native code?
The "ScribbleWindow" also runs and I can "scribble", however selecting
anything from the menus results in a crash in jni.cc... I havn't tried
to debug this yet.
regards
Bryce.
More information about the Java
mailing list