LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: bitlion on November 17, 2016, 02:43:23

Title: Noob here, I downloaded LWJGL 3 and all I have are .jar files and no .dll files?
Post by: bitlion on November 17, 2016, 02:43:23
I can't get the library to work because I can't find a way to add the native files or .dll files that everybody says I need; I downloaded LWJGL 3 from the site and all that is in the files are .jar files.

This is my first time trying to do anything Java let alone programming related; could I know what I'm doing wrong?

Thanks!
Title: Re: Noob here, I downloaded LWJGL 3 and all I have are .jar files and no .dll files?
Post by: seventh-chord on November 17, 2016, 05:49:25
In LWJGL 3 the .dll files are inside the jars (E.g. lwjgl-natives-windows.jar contains lwjgl.dll). However, you do not need to take the dlls out from the jars. Just include all the jar files you downloaded (Except the source and javadoc ones) in your project in the same way you included lwjgl.jar, and LWJGL will automatically sort out the rest. The LWJGL 3 wiki (https://github.com/LWJGL/lwjgl3-wiki/wiki) has a section on how this new install/setup process works.