On Mon, 11 Jun 2001, steffen reymann wrote:

> Excellent work!
> 
> Has anyone managed to use the JNI on the iPAQ? When I tried the
> classic Hello World example the whole thing always crashes on the
> iPAQ (see log below). To make the library I use
> 
># arm-linux-gcc -shared -I/usr/java/jdk1.3/include
># -I/usr/java/jdk1.3/include/linux -o libhello.so HelloWorld.c
> 
> Inclusion of the -D_REENTRANT option (what does it do anyway?) as
> suggested somewhere doesn't help. I also tried different versions of
> jni.h (for instance the kaffe one) without success.
> 
> Any ideas would be very much appreciated.

Does it work if you reduce the maximum heap size?  
Try "java -Xmx10m -Djava.library.path=. HelloWorld".


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Visit the Java 2 Platform on Linux BOF at JavaOne: 
http://servlet.java.sun.com/javaone/conf/bofs/1745/0-sf2001.jsp


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to