Date: Wed, 6 Oct 1999 22:28:35 -0500 (GMT+5) From: SeRgIo ArTuRo GaRcIa <ser-garc@uniandes.edu.co> To: freebsd-java@freebsd.org Subject: JNI Message-ID: <Pine.GSO.3.96.991006222144.20458A-100000@isis>
next in thread | raw e-mail | index | archive | help
Im trying to run the example in Java tutorial about JNI, but im getting the message "unsupported file type (libNativeDemo.so)" when I run the java program that runs a native method. Im creating libNativeDemo.so with this line gcc -I/usr/local/bin/jdk1.1.8/include/ \ -I/usr/local/bin/jdk1.1.8/include/freebsd -c \ -fPIC -DPIC NativeDemo.c -o libNativeDemo.so any ideas? thanks in advance, Sergio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.991006222144.20458A-100000>