Where to put the files???

I have downloaded LWJGL but I don´t know where I should put the files.
Please help me…

You need to add the lwjgl.jar file to your classpath. Either set it on system boot in your autoexec.bat, or add “-classpath c:\wherever” to your compile and execute lines.

The native libraries (probably DLLs) need to be placed somewhere where Java can find them. Either put them into your C:\WINDOWS\SYSTEM directory or add “-Djava.library.path=c:\wherever” to your execution line.

Or you can put them in the same directory as your executable Jar file and run a batch file similar to:

I named mine run.bat and when I run stuff I just type:

run NameofClassWithMain

The Java runtime does look for native libraries in the same directory as where the application is run so you should be fine with that and not have to copy them into your Windows dll directory.