Hi all,
when I just downloaded LWJGL and tried to run one of the test programs (on MacOS 10.5 with Apple Java 1.6 beta), I got the following error message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/alex/Downloads/lwjgl-1.1.4/native/macos/liblwjgl.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
(etc.)
Notice that Java does find the liblwjgl.jnilib file: It doesn't say "couldn't find liblwjgl.jnilib" as it would if the java.library.path hadn't been set correctly.
This problem only occurs when I use Apple Java 1.6 beta. Whenever I use Java 1.5, LWJGL seems to run properly. On the other hand, attempts to run the demo with
SoyLatte crash with the following error:
Exception in thread "main" java.lang.LinkageError: Unknown platform: Darwin
at org.lwjgl.LWJGLUtil.getPlatform(LWJGLUtil.java:291)
at org.lwjgl.Sys.createImplementation(Sys.java:111)
at org.lwjgl.Sys.<clinit>(Sys.java:100)
at org.lwjgl.opengl.Display.<clinit>(Display.java:111)
(etc.)
I'm posting this here primarily so people who are confused by the same error messages will know to use Java 1.5 for now. But if LWJGL could be made to work on some version of Java 1.6 that runs on the Mac at some point, that would be awesome too.
- Alexander