[fedora-java] /usr/share/java and JNI libraries
David Walluck
david at zarb.org
Mon Mar 26 19:04:14 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patrice Dumas wrote:
> On Mon, Mar 26, 2007 at 10:33:26AM -0700, Anthony Green wrote:
>>
>> I believe most end up in %{_libdir}.
>
> Aren't jni files dlopened? If it is the case they should not be
> in %{_libdir}, but in a subdirectory.
>
> Are there packaging guidelines for java where such issues are
> explained?
Actually, I think you are right, but traditionally they have been but in
%{_libdir}, and *jars* which depend on libraries have gone in %{_jnidir}
= %{_libdir}/jni, per the JPackage 1.5 spec.
Is it also a problem having jars (non-binaries) inside %{_libdir}? Then
maybe %{_jnidir} should be %{_datadir}/jni then?
I would tend to think that Debian is more correct here:
Libraries: %{_libdir}/jni
Jars that dlopen() these libraries: {_libdir}/java
So, JPackage is sort of backwards from Debian, but I am not sure if that
jar directory makes sense.
- --
Sincerely,
David Walluck
<david at zarb.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org
iD8DBQFGCBkuN5thZBYlTwkRAuSJAJ9sTcm+d8PgxG2soL1OTJINea8J7gCfUDsk
yeFDOEfaDANgFkS8ZPj+gF4=
=ZLVU
-----END PGP SIGNATURE-----
More information about the java-devel
mailing list