Finding OpenJDK include paths

Braden McDaniel braden at endoframe.com
Mon Jul 13 01:50:27 PDT 2009


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?

-- 
Braden McDaniel <braden at endoframe.com>




More information about the distro-pkg-dev mailing list