LWJGL
May 22, 2012, 03:14:16 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: UnsatisfiedLinkError on MacOS  (Read 5487 times)
akoller
Newbie
*
Posts: 1


« on: February 25, 2008, 07:14:22 »

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:

Code:
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:

Code:
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


Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #1 on: February 25, 2008, 11:02:19 »

Java 1.6 isn't supported on mac. The problem is that Java 1.6 on Mac is 64bit only. We have managed to get it to compile, but we wont officially support this until 1.6 has been released.
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
erock
Newbie
*
Posts: 1


« Reply #2 on: April 30, 2008, 18:47:03 »

I see that Java 6 has been officially released, though still only 64bit. Any idea what this will mean for JWJGL compatibility?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #3 on: April 30, 2008, 23:44:47 »

2.0 beta should work on java 6 / mac.
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
lobsterman
Newbie
*
Posts: 18



« Reply #4 on: May 15, 2008, 04:10:55 »

hi all,

as far as i have gathered from quicktime for java groups, both JNI and QT support are NOT functional in java 6
Logged
elias4444
Nerdus Imperius
*****
Posts: 636



WWW
« Reply #5 on: May 15, 2008, 07:36:16 »

It appears to be working fine for me.  Undecided
Logged

=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!