[FIXED] OpenJDK - Darwin

Started by mot, January 22, 2011, 23:38:14

Previous topic - Next topic

mot

I'm getting this error when trying to run a LWJGL game on Mac OS X using the latest build of OpenJDK:

Exception in thread "main" java.lang.LinkageError: Unknown platform: Darwin
   at org.lwjgl.LWJGLUtil.<clinit>(LWJGLUtil.java:285)


Would it be possible to change line 282 of LWJGLUtil.java

      else if ( osName.startsWith("Mac OS X") )

to reflect the fact that "Darwin" is also valid? Thanks.

Matzon