Hello Guest

java.lang.IllegalAccessError

  • 0 Replies
  • 4450 Views
java.lang.IllegalAccessError
« on: February 08, 2005, 17:54:20 »
I get the following error when trying to run any of the test classes. The same happens with lwjgl 0.94, 0.95 and a locally compiled source version on my machine all using JDK 1.5.  on Windows. Normally this a class incompatiblity error.

Any ideas what's going wrong?

-kevin.

org.lwjgl.test.input.MouseCreationTest
Exception in thread "main" java.lang.IllegalAccessError: tried to access method
org.lwjgl.Sys.initialize()V from class org.lwjgl.opengl.Display
        at org.lwjgl.opengl.Display.<clinit>(Display.java:92)
        at org.lwjgl.util.Display.getAvailableDisplayModes(Display.java:71)
        at org.lwjgl.test.input.MouseCreationTest.setDisplayMode(MouseCreationTe
st.java:76)
        at org.lwjgl.test.input.MouseCreationTest.initialize(MouseCreationTest.j
ava:59)
        at org.lwjgl.test.input.MouseCreationTest.executeTest(MouseCreationTest.
java:98)
        at org.lwjgl.test.input.MouseCreationTest.main(MouseCreationTest.java:20
6)