How to set up Netbeans 5.5 for use with LWJGL

  • Having installed LWJGL on your platform of choice, fire up Netbeans.
  • Click on Tools > Library Manager.
  • Click “New Library”, then add the JARs for the LWJGL to the classpath. (If you downloaded them also add the source folder to the Sources tab, and documents folder to the Javadoc tabs).

  • “Right Click” (in the Projects panel) on the project that you wish to use LWJGL with, then select “Properties” from the context menu.

  • In the left menu of the “Properties” dialog choose “Libraries”.
  • Click the “Add Library” button on the right of the dialog, then add the LWJGL you just created.

  • Still in the “Properties” dialog choose “Run” from the menu and under “VM Options”
    put the System Path to your native files i.e. -Djava.library.path=C:/javalibs/LWJGL/native/win32
  • Note: path to the Native files should not have a decimal point (dot ”.”) in the folder names.

  • You should now be able to run the project directly from Netbeans.
 
lwjgl/install/ide/netbeans.txt · Last modified: 2007/07/07 00:38 (external edit)
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki