Finding OpenJDK include paths

Omair Majid omajid at
Mon Jul 13 06:43:17 PDT 2009

Braden McDaniel wrote:
> When building a Fedora package that uses JNI, I've found it necessary to
> set CPPFLAGS as such:
>         CPPFLAGS="-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux"
> Is there any more clever mechanism available?

You might want to take a look at this:


More information about the distro-pkg-dev mailing list