[RFC] JNLP: jars with native libraries in incorrect locations

Omair Majid omajid at redhat.com
Tue Jun 22 11:06:01 PDT 2010


On 06/15/2010 09:42 AM, Omair Majid wrote:
> 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

Anyone?



More information about the distro-pkg-dev mailing list