Search code examples
javaeclipselwjgl

Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl-devil in java.library.path


I am trying to use DevIL but it keeps giving this error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl-devil in java.library.path

when I run the line: IL.create();

I know that I need lwjgl-devil.dll. Where can I find it? I googled without success. I tried adding the lwjgl-devil.jar to Eclipse but that didn't work.


Solution

  • You need the lwjgl-devil.dll and the DevIL.dll which you get here http://openil.sourceforge.net/download.php