Finding OpenJDK include paths

Andrew Haley aph at redhat.com
Tue Jul 14 06:05:55 PDT 2009


Dalibor Topic wrote:
> Braden McDaniel wrote:
>> On Tue, 2009-07-14 at 00:42 +0200, Dalibor Topic wrote:
>>> Andrew Haley wrote:
>>>> 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!  :-)
>>>>
>>> Any volunteers for pkg-confiscating it?
>> Given that such a thing should be JDK-neutral, the question becomes,
>> "Who owns it?"
>>
>> Looking at Fedora packages, the logical place seems like jpackage-utils.
>> Does that seem sane/practical?

That's where it is:

 $ rpm -ql jpackage-utils
...
/usr/share/java
/usr/share/java-1.3.1
...

A few other packages install it as well.

Andrew.



More information about the distro-pkg-dev mailing list