Finding OpenJDK include paths

Omair Majid omajid at redhat.com
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:
http://article.gmane.org/gmane.linux.redhat.fedora.java/3017

Cheers,
Omair



More information about the distro-pkg-dev mailing list