Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JOGL problem  (Read 1423 times)
0 Members and 1 Guest are viewing this topic.
Offline glitch83

Innocent Bystander

« Posted 2008-09-05 15:48:07 »

Hi I am assisting a java project that isn't mine and am receiving this Exception:

at java.awt.EventQueue.invokeAndWait(
at javax.swing.SwingUtilities.invokeAndWait(
at innards.Launcher.doLaunch(
at innards.Launcher.main(
Caused by: java.lang.UnsatisfiedLinkError: JAWT_GetAWT0
at com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT0(Native Method)
at com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT(
at com.sun.opengl.impl.JAWT$
at Method)
at com.sun.opengl.impl.JAWT.getJAWT(
at com.sun.opengl.impl.GLContextImpl.makeCurrent(
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(

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.

Please help,
Offline cylab

JGO Kernel

Medals: 162

« Reply #1 - Posted 2008-09-08 20:10:32 »

If there is a JOGL version mismatch, this is usually between the jars and the dlls. Normally this is caused by some jogl related dlls lying in some system folder (e.g windows/system32) or some jogl jars in the lib/ext directory. In your case, I guess there is a wrong jogl_awt.dll somewhere. This could be because you have forgotten a version somewhere or even because a "smart" installer of some jogl app has copied it to your system in a global folder or something.

The -rt suffix in "gluegen-rt" afaik stands for "runtime", since it is the runtime code needed to use gluegen generated bindings. I would guess the missing suffix for your jnilib is just a glitch, so don't bother.

I would advice to make a global system search for jogl*.* and gluegen*.* and remove anything you find. After that download the zip distribution again from here (I think you have to pay attention to either get the 32 or the 64 bit version in respect to your JDK, not your OS) and unzip it to a dedicated folder (mine is D:\development\libs\jogl). After that use this small tutorial, to make it work in eclipse:

Mathias - I Know What [you] Did Last Summer!
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

numerical (109 views)
2017-02-21 07:32:16

numerical (109 views)
2017-02-21 07:31:46

theagentd (214 views)
2017-02-18 13:42:33

theagentd (217 views)
2017-02-18 13:35:16

h.pernpeintner (1379 views)
2017-01-24 22:39:11

h.pernpeintner (1367 views)
2017-01-24 22:38:32

Galdo (1929 views)
2017-01-12 13:44:09

Archive (2001 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2538 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2317 views)
2016-12-15 21:50:57
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!