jMonkey SDK RC2 error

Whenever I try to run a project, new or old, built on the Beta version or RC2, I reach the preferences screen (VSync, screen dimensions…), but once I press “ok”, I receive the error below. I have fully updated my RC2 application, but have not uninstalled my Beta version, though placing it in the trash did not solve the problem. If it helps, I’m on a Mac.



Nov 09, 2012 8:19:46 PM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory: /Users/s160439/Programming/Workspace/Asteroids

Nov 09, 2012 8:19:46 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run

INFO: Using LWJGL 2.8.4

Nov 09, 2012 8:19:46 PM com.jme3.system.lwjgl.LwjglDisplay createContext

INFO: Selected display mode: 1024 x 768 x 0 @0Hz

_NSJVMLoadLibrary: NSAddLibrary failed for /libjawt.dylib

JavaVM FATAL: lookup of function JAWT_GetAWT failed. Exit

Java Result: 255

Looks like you got Java7 installed. It won’t work.

@normen said:
Looks like you got Java7 installed. It won't work.

What do you mean? It won't work in general or just not on a mac? Or are you refering to oracle java 7? For me (Ubuntu 12.04) openjdk 7 seems to work...
@normen said:
Looks like you got Java7 installed. It won't work.

Huh? It doesn't work with Java 7? Do I need Java 6?

On osx yeah. That’s one of our main concern right now

that’s why we are considering switching to JOGL

@imojoo said:
What do you mean? It won't work in general or just not on a mac? Or are you refering to oracle java 7? For me (Ubuntu 12.04) openjdk 7 seems to work...

So you are lucky. lwjgl is basically broken on OSX and Linux now that Java7 / OpenJDK is fully in place on those platforms. Thats why we want to switch to JOGL. Btw you can just make the /Library/Java/JavaVirtualMachines/jdkXXX.bundle inaccessible for "staff" so you don't have to delete it to start the SDK on Java6.
2 Likes