[RFC] JNLP: jars with native libraries in incorrect locations
Omair Majid
omajid at redhat.com
Tue Jun 15 06:42:09 PDT 2010
Hi,
I recently ran into a problem with SweetHome3D [1] not working under
Netx. The jnlp file contains no 'nativelib' elements which initially led
me to believe that it contains no native code. However, one of the jars
it references [2] contains native code under /linux/x64/. Both of these
things (no nativelib element and placing .so's anywhere other than under
/) seem to go against the developer guide's guidelines. Of course,
without reading the JSR, I can not say if this is against the JNLP spec
or not.
That said, since the Sun/Oracle Webstart works with SweetHome3D, Netx
should work too. The attached patch modifies Netx so that it always
tries to look for .so's (placed anywhere) in jar files. If it finds
them, it activates them as if the .so's were in a nativelib jar.
Any thoughts or comments?
Cheers,
Omair
[1] http://www.sweethome3d.com/SweetHome3D.jnlp
[2] http://www.sweethome3d.com/lib/linux/x64/java3d.jar
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: icedtea6-jnlp-bad-native-library-jars.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100615/7b145447/icedtea6-jnlp-bad-native-library-jars.patch
More information about the distro-pkg-dev
mailing list