Executing Gcj-SWT native code fails

Jakob Praher jpraher@yahoo.de
Mon Jan 17 12:41:00 GMT 2005


Am Montag, den 17.01.2005, 13:08 +0100 schrieb krimo:
> Hi guys,
>
> And my Makefile:
> gcj -c -Wall -I./lib/swt.jar --classpath=src/ src/Test.java
> #Linking all
> gcj --main=Test Test.o -lswt -lswt-pi -o Test
>how did you compile libswt.so and libswt-pi.so, did you mention the
-fjni flag (this classes contain native code, which is implemented using
jni), do you have a LD_LIBRARY_PATH for the jni shared objects ?
I don't have a problem using swt gui stuff, but I've tested with
gcc-head recently. Also I've found that compiling swt.jar with the old
abi (which is the only one in gcc-3.4) I have some strange verifier
error.
Do you get an error, or simply nothing?
-- 
Jakob Praher <jpraher@yahoo.de>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /