Setting Up LWJGL with JCreator
From LWJGL
IMPORTANT: Some of the images and/or content on this page is outdated, but should still prove to be useful. If you use JCreator, please update this page.
- Create project. Go to Project->Project Properties, select Required Libraries tab and click New.
- Call new library collection LWJGL. Click add->path and add the path to where you installed lwjgl. Then click add->Archive again and go to the jar folder and then select lwjgl.jar, lwjgl_util.jar, and jinput.jar.
- Make sure the LWJGL library is ticked.
- Finally, go to Configure->Options->JDK Tools->Run Application. Then add a new tool and edit the text to be the following, replacing what is in bold appropriately:
- -classpath "$[ClassPath]" -Djava.library.path="<lwjgl-path>/native/<linux|solaris|macosx|windows>" $[JavaClass]
- Note: The double quotes are only necessary if there are spaces in the path.
- Source: LWJGL Forum Thread: LWJGL + JCreator + Windows = ???
- Note: The double quotes are only necessary if there are spaces in the path.
- -classpath "$[ClassPath]" -Djava.library.path="<lwjgl-path>/native/<linux|solaris|macosx|windows>" $[JavaClass]


