LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: mot on January 22, 2011, 23:38:14

Title: [FIXED] OpenJDK - Darwin
Post by: mot on January 22, 2011, 23:38:14
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.
Title: Re: [RFE] OpenJDK - Darwin
Post by: Matzon on January 23, 2011, 07:49:03
fixed