I've noticed that xith-tk has a nblibraries.properties file that points to the location of the native .dll files. The netbeans "run vm args" are: "-Djava.library.path="${libs.xith3d-third-party-natives.classpath}"" This is rather nifty as I originally had a rather long path list.
I'm assuming that when I ask netbeans to execute a xith-tk program, netbeans will deference "${libs.xith3d-third-party-natives.classpath}" from the nblibraries.properties file and then execute. Or does it? I like the idea of referencing dll or jars from a properties file than one large monolithic classpath or -Djava.library.path command line entry. Any info appreciated.
You are right. In xith-tk, we created a special native classpath, that points to the dlls (or other natives when you rename a "nblibraries-private-<platform>.properties" file to "nblibraries-private.properties"). You can even edit this in netbeans, if you temporarily add the "xith3d-third-party-natives" library in the projects properties and click the Edit-Button. You have to remove it from the classpath afterwards, though, since otherwise the natives are also includes in the - well - classpath

You don't want that (could lead to problems). You only want the property being set to reference it in the JVM args.
Hope it helps.
PS. the same "trick" is mentioned in my "Setting up Xith3d in Netbeans 6.1" (currently the only

) blog post.