On 15/06/11 12:29, Marius Brehler wrote: > Package: sun-java6-jdk > Version: 6.24-1~squeeze1 > Severity: normal > > /usr/lib/jvm/java-6-sun/include/jni.h includes jni_md.h in line 27: > #include "jni_md.h" > > The jni_md.h is located at /usr/lib/jvm/java-6-sun/include/linux/jni_md.h, > so this line should be: > #include "linux/jni_md.h" >
Hi Marius, I believe this is the intended behaviour, since jni.h is common over all platforms, and so, for example, on windows the correct include is include/win32/jni_md.h When building your code you can just have both -I/usr/lib/jvm/java-6-sun/include/ and -I/usr/lib/jvm/java-6-sun/include/linux/ to set your include paths. Thanks, Andy __ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.

