Skip to content
This repository was archived by the owner on Oct 21, 2019. It is now read-only.

Setting Up

Zach Goethel edited this page Feb 4, 2016 · 2 revisions

In order to use this library, you are obviously going to have to set it up with your IDE. For this example I will be using Eclipse. If you are not using Eclipse, there are plenty of other tutorials for build path configuration on various specific platforms. You will need three files:

  • Latest LWJGL 3 build from here.
  • Latest LWJGL 2 build from here.
  • Latest LWJGL-Utils build.

Create a folder wherever you want, and extract the LWJGL 3 archive into it. From the LWJGL 2 archive, extract lwjgl_util.jar from the jar folder into the jar folder of the extracted LWJGL 3 folder.

Open up your Eclipse IDE and navigate to Window > Preferences > Java > Build Path > User Libraries. Click on New... to create a new User Library, and name it LWJGL or similar. Select it and click on Add External JARs.... Navigate to the extracted LWJGL 3 folder and select lwjgl.jar and lwjgl_util.jar, then click Open.

In the lwjgl.jar sub-options, click on Native library location: (None) and then Edit.... Select External Folder... then navigate to your LWJGL 3 extraction's native folder. Click OK and then OK.

On a new project, right-click and navigate to Build Path > Add Libraries... > User Library > LWJGL (or similar) > Finish. Now you have configured an LWJGL user library and added it to a project build path!

Clone this wiki locally