0

The lwjgl consists of two parts. I set up the java part by copying the "lwjgl.jar" into the "...\BlueJ\lib\userlib" folder and that worked. For the native part I have to point the java.library.path at the two DLLs "lwjgl.dll" and "OpenAL32.dll". How do I do that?

Yonatan Nir
  • 9,709
  • 24
  • 95
  • 179
someone
  • 1
  • 1
  • Not even sure it can be done with blueJ. Should consider using eclipse (unless you're using the BlueJ Java textbook) – benscabbia Mar 28 '15 at 16:01

1 Answers1

0

LWJGL looks in a special variable to find its native libs. I don't know how blueJ works but you should do something like:

System.setProperty("org.lwjgl.librarypath", new File("pathToNatives").getAbsolutePath());

More info and another way to set this up is here

Community
  • 1
  • 1
Dawnkeeper
  • 2,751
  • 1
  • 25
  • 39