[fedora-java] /usr/lib/jni support in Fedora

Florian Weimer fweimer at redhat.com
Tue Jul 29 15:31:49 UTC 2014


On 07/29/2014 05:29 PM, Jiri Vanek wrote:
> On 07/29/2014 05:24 PM, Florian Weimer wrote:
>> On 07/29/2014 04:59 PM, Omair Majid wrote:
>>>>> Then the most simple way is to provide symlinks in
>>>>> java-1.{7,8}.0-openjdk spec
>>>>>
>>>> >from /usr/lib/jni | /usr/lib64/jni, -to> /usr/lib/jvm/java..../...  ?
>>>
>>>> Is it a good idea to install files from RPMs through a symbolic link?
>>>
>>> We could use the alternatives mechanism for this.
>>
>> How so and why?
>>
>
> Because you caninstallmultiple jdks in time,and you are switching among
> them via alternatives.

Uhm, wouldn't a java-filesystem package which provides the directory 
(either /usr/lib64/jni or /usr/java/packages/lib/amd64, depending which 
one we prefer) make more sense?  After all, the contents isn't 
JDK-specific at all.

-- 
Florian Weimer / Red Hat Product Security


More information about the java-devel mailing list