This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently, when developing a platform application which depends on native libraries (JOGL, for example), the native libraries can be copied to the release/modules/lib directory and the project can be built as a Zip Distribution or Installer Package. Unfortunately, there is no straightforward way to build such a project as a JNLP Application. The Netbeans build system should be enhanced to detect the presence of native libraries in the release/modules/lib directory and generate <nativelib> tags in jnlp files.
I let Jesse comment on this, but I believe a solution exists. There should be some section in harness/README to guide you.
You would need to override the jnlp target in the relevant module's build script. I cannot think of a straightforward mechanical construction of the module fragment *.jnlp since JNLP requests that you specify the platform architecture for each native lib, and this information cannot generally be reconstructed from file structure in release/modules/lib. *** This bug has been marked as a duplicate of bug 76196 ***