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

David Walluck david at zarb.org
Mon Mar 26 20:47:33 UTC 2007


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

Thomas Fitzsimmons wrote:
> There's also the case of jar files that bundle arch-dependent compiled code. 
> Andrew, how is that handled in the Fedora Eclipse RPMs?

I am not sure, but this is what I would do in %{_prefix}/lib/java:

swt-gtk-3.2.2.jar ->
../../../usr/lib64/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_64_3.2.2.v3236.jar
swt-gtk-3.2.jar -> swt-gtk-3.2.2.jar

Yes, we can find examples where jars are actually arch-dependent. Come
on, they are bundling binary code, so of course they are.

That doesn't mean that they aren't completely wrong in doing so. These
libraries should really be unbundled and one swt.jar shared across all
archs. A jar bundling binary code? If we allow this, what's next?

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

iD8DBQFGCDFlN5thZBYlTwkRAsIwAKCToQbXnb40qV0SCi71N6ImZkBIXwCfap4Q
fMNWT22ALMKjRCvJEpUvfVc=
=TBwZ
-----END PGP SIGNATURE-----




More information about the java-devel mailing list