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

Florian Weimer fweimer at redhat.com
Tue Jul 29 15:24:20 UTC 2014


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?

>> I
>> suspect it's not, which would mean we'd have to use the upstream default
>> "/usr/java/packages/lib/amd64" in spec files (probably using a macro). If
>> that path is acceptable, it would be fine with me as well, but it looks a
>> bit ugly to me.
>
> We can change (add and remove from) this path in the JDKs that we ship,
> if we have to.

It would be nice to preserve compatibility with proprietary JDKs, too.

-- 
Florian Weimer / Red Hat Product Security


More information about the java-devel mailing list