Runtime Error

I get this error message when I want to compile Lesson06 on nehe:

java.lang.UnsatisfiedLinkError: no DevIL in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.devil.IL.(IL.java:303)
at lesson06.Lesson06.init(Lesson06.java:202)
at lesson06.Lesson06.run(Lesson06.java:72)
at lesson06.Lesson06.main(Lesson06.java:67)
Exception in thread “main”

I did add the VM argument :
-Djava.library.path=C:\LWJGL\lwjgl-win32-0.94

but still doesn’t work :frowning:

Let me get this straight. We’ve got Nietzsche complaining about his troubles with the Devil? ??? I must be losing my mind. :-/

Joking aside, you might try copying the DLLs into your working directory. The JVM should automatically pick them up from there. :slight_smile:

I agree with the irony!

But, I don’t think that is a good idea since the other projects that require lwjgl.dll work fine with -Djava… and the lwjgl_devil.dll is in the same directory as lwjgl.dll and now it cannot find it. Am I making sense?

Well, I tried! I copied the .dll and .jar files into the working directory and it didn’t work! Any other ideas?

it’s not complaining about lwjgl-devil.dll but rather DevIL.dll:
http://openil.sourceforge.net/download.php