[fedora-java] /usr/share/java and JNI libraries

David Walluck david at zarb.org
Mon Mar 26 20:08:41 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nicolas Mailhot wrote:
> IMHO trying to get the dependencies right on a multilib system will be
> a nightmare if you try to share the jars (how do you handle the case
> libs in lib64 but not lib?), and you may have the case when /usr/share
> is network-mounted on systems with different arches (sparc and
> x86_64...) so it's not worth the pain. Just make arch-specific packages
> in arch-specific filesystem-space

I am assuming that jars are arch-independent, meaning the md5sum, say,
will be the same across platforms. I don't understand when you say ``you
may have the case when /usr/share is network-mounted on systems with
different archs''---arch-dependent files don't go in /usr/share in the
first place.

Presumably, java.library.path would be set at runtime depending on the
arch of the JDK run. The default JDK search patch would probably be to
search for the native arch first (still allowing the usual overriding of
JAVA_HOME).

- --
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

iD8DBQFGCChJN5thZBYlTwkRAk/TAJ4pCCmbAYpbAOJlLXeY53Gn8RnohwCgk6t1
l1sQ3UVJqfvVGOpx+2PG4MA=
=cNeu
-----END PGP SIGNATURE-----




More information about the java-devel mailing list