Re: [Java-gnome-developer] Re: error: java.lang.reflect.InvocationTargetException: ListenerDelegate
Brought to you by:
afcowie
From: Olivier E. <ev...@pr...> - 2005-03-29 19:46:05
|
Thanks a lot ;) Nicholas Rahn wrote: > Hi Olivier, > > I compared the Makefile you sent in the previous mail with one that i > have used in the past and i found a couple of differences. Here's the > "native" target from my Makefile: > > > native: > ${GCJ} --classpath=.:${INCLUDES} -L${JG_LIBDIR} -lgcj ${LIBS} > --main=${MAIN} -o ${TARGET} ${FILES} > > > I have an extra -L definition as well as the -lgcj. I don't actually > use the native compile anymore, but if i remember correctly, the -lgcj > part was important. My java-gnome libs are in a non-standard location > so i think that was why i had the extra -L defined. It help for other things ;) I found that I must build ma library with -jni option. By default gcj use cni framework!! Whitout -jni gcj try to link C++ implementation... Olivier |