Hi,
[quote]I dont know how to set java.library.path when there is JOGL included on Netbeans 6.5.1 project
[/quote]
lets say you want to run your jinput/jogl project from within your IDE (not webstart).
-Just open the run configuration (the combo box on the toolbar on top of NetBeans) and choose ‘Customize’.
-select the ‘Run’ item in the tree.
-Now you can enter additional vm arguments in the ‘VM Arguments’ textfield
e.g -java.library.path=“lib/jinput”
(you can add more run configurations to the same project just hit new and give them a name…)
[quote]Now when i have an attempt to add JINPUT to JOGL Applet, i need help.
[/quote]
I don’t know if there is a public server or jnlp extension available which hosts jinput for you (maybe someone else can help here). In worst case you will have to host jinput on your own server.
lets say you are using a jogl project template from the OpenGL Pack and already successfully enabled webstart support in project properties.
-you should find a file called ‘master-application.jnlp’ in your project folder -> open it
-add
<jar href="jinput.jar"/>
somewhere between and
-add:
<resources os="Windows" arch="x86_64 x86">
<nativelib href="jinput-windows-native.jar"/>
</resources>
<resources os="Linux" arch="i386 ia64 x84_64">
<nativelib href="jinput-linux-native.jar"/>
</resources>
<resources os="Mac OS">
<nativelib href="jinput-osx-native.jar"/>
</resources>
somewhere after the tag which is already there by default.
after a rebuild your project should be ready for webstart/applet deployment, at least on java 6u10 or later.
hope that helps.