Hi I am assisting a java project that isn't mine and am receiving this Exception:
Caused by: java.lang.UnsatisfiedLinkError: JAWT_GetAWT0
at com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT0(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
I've read elsewhere that this is usually from a mismatch native binary problem. I'm using jdk5R16 & I have replaced all of their jogl stuff with 1.1.1 (jogl.jar jogl.dll jogl_awt.dll) So I can't seem to figure out what is wrong here. I have a few questions
I haven't moved any of the bin files into my ext directory b/c I hear that's naughty for web start applications and other reasons - is this "mismatch" between JDK & JOGL or between JOGL dlls? I've gotten all my binaries (i586 for windows) from the same zip file so I'd be surprised if they were mismatched... And I've replaced the JAR file in case this is a "mismatch" between jar & dlls. I'm also confused as to what purpose gluegen has - and why is there a gluegen-rt for windows and a gluegen.jnilib for macintosh?? (Without the -rt)
I'm doing all of this in eclipse ganymede and have included the jogl.jar in the project-preferences library but still nothing - I've also added the native path in the JRE environment in case it can't find the dlls.
Also in the code are many calls to 'loadLibrary' - do you need to loadlibrary for gluegen-rt instead of gluegen? --- I don't see any calls to loadLibrary for gluegen.. even tho it has a jar & dll.
The Installation instructions are also bogus - I see different installation instructions from different documents - some say put them in jre/lib/ext, and some say NONO b/c it breaks webstart and finally some say to keep it in the folders of the project you're working on to reduce dep conflicts.
Last piece of info is that I'm porting this from Mac to windows so if this may provide some extra context.