Finding OpenJDK include paths

Andrew Haley aph at redhat.com
Mon Jul 13 12:07:18 PDT 2009


Braden McDaniel wrote:
> On 7/13/09 9:43 AM, Omair Majid wrote:
>> 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
> 
> Thanks... Looks like the answer is "no". :-/

Try had as I can, I can't think of anything better.  Looks perfect
to me!  :-)

Andrew.





More information about the distro-pkg-dev mailing list