Login  Register

Re: OSGi: need J3D 1.6 source code for a patch

Posted by Sven Gothel on Nov 08, 2013; 1:58pm
URL: https://forum.jogamp.org/OSGi-need-J3D-1-6-source-code-for-a-patch-tp4030430p4030533.html

On 11/08/2013 02:33 PM, JeanPhi [via jogamp] wrote:
> Well, JOGL is not a problem in itself. Making a bundle from several jars can
> be done without great difficulty.
>
> The problem is that J3D fails to run with bundles due to static initialization
> (and OSGi class loading). Fails means that without a patching J3D or using a
> dirty workaround it is not possible - as JVM prevents loading twice the same
> native lib - to run J3D in an OSGi project.

JogAmp loads native JARs per JVM and classloader as required
if using the native JAR libloading process as provided via GlueGen's runtime.

'Our' Java3D should use this mechanism .. and cause no problems IMHO.

~Sven


signature.asc (911 bytes) Download Attachment