Unable to run lwjgl 1.0 on Mac-Intel

Started by pitt, June 17, 2006, 11:16:14

Previous topic - Next topic

pitt

Version: Mac OS X 10.4.6
Processor: MacBook 1.83Ghz Intel Core Duo
Java: 5.0 release 2

source code
org.lwjgl.opengl.DisplayMode[] dis=org.lwjgl.opengl.Display.getAvailableDisplayModes();


Java Console said
java.lang.ExceptionInInitializerError
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:164)
   at org.lwjgl.opengl.MacOSXDisplay$MacOSXApplicationListener$1.run(MacOSXDisplay.java:452)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.lwjgl.opengl.MacOSXDisplay$MacOSXApplicationListener.<init>(MacOSXDisplay.java:449)
   at org.lwjgl.opengl.MacOSXDisplay.<init>(MacOSXDisplay.java:79)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at java.lang.Class.newInstance0(Class.java:350)
   at java.lang.Class.newInstance(Class.java:303)
   at org.lwjgl.opengl.Display.createDisplayImplementation(Display.java:157)
   at org.lwjgl.opengl.Display.<clinit>(Display.java:104)
   

Caused by: java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Invalid parameter not satisfying: item != nil)
   at com.apple.eawt.Application.initializeApplicationDelegate(Native Method)
   at com.apple.eawt.Application.<clinit>(Application.java:67)
   ... 18 more