LWJGL Tools

The org.lwjgl.tools plugin provides an already configured library to be added to a projects build path. It does not only provide the JARs and native libraries, relieving developers from configuring extra VM arguments in the run configuration, but it also configures Javadoc and source code to be available in Java projects just as in plugin projects.

You will also need the org.lwjgl plugin. JavaDoc and source code are retrieved from the org.lwjgl.doc and org.lwjgl.source plugins.

Configure the LWJGL library

You can configure the LWJGL library for a plain Java project by opening the projects properties. Select "Java Build Path" and "Libraries", such as shown in Figure 1. Note: Click on the images here to show a larger version.

Fig. 1: Project properties
Select "Add Library..." on the right hand side. This will open a new dialog window as shown in Figure 2.

Fig. 2: Add library
Select "LWJGL Library". You can simply press "Finish". However if you want to have some information about the paths of the added library, simply select "Next". In the latter case, the next wizard page will show you the path settings automatically configured by the tool plugin as shown in Figure 3.

Fig. 3: Library info
You have no successfully configured the LWJGL library, as shown in Figure 4. Press "OK" to finish the set up.

Fig. 4: Configured library

You can now use the LWJGL library in your Java project, and you can simply start the project by selecting "Run As / Java Application..." in the context menu of a class containing a main method. That is, you do not have to configure some VM arguments in the run configuration anymore, which will hopefully make development much easier.

Note: At this moment, no further tools, e.g., for exporting an LWJGL application, exists. Feel free to write missing functions and contact us in order to add new functionalty.