Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / JOGL problem on: 2008-09-05 15:48:07
Hi I am assisting a java project that isn't mine and am receiving this Exception:

java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257)
at innards.Launcher.doLaunch(Launcher.java:176)
at innards.Launcher.main(Launcher.java:111)
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(JAWTFactory.java:38)
at com.sun.opengl.impl.JAWT$1.run(JAWT.java:99)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.JAWT.getJAWT(JAWT.java:95)
at com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(WindowsOnscreenGLDrawable.java:163)
at com.sun.opengl.impl.windows.WindowsOnscreenGLContext.makeCurrentImpl(WindowsOnscreenGLContext.java:57)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:265)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:130)
at innards.graphics.gl.TrivialGLContext.display(TrivialGLContext.java:205)

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,
~Frustrated
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (51 views)
2014-12-03 16:27:13

CopyableCougar4 (48 views)
2014-11-29 21:32:03

toopeicgaming1999 (115 views)
2014-11-26 15:22:04

toopeicgaming1999 (103 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org 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‑gaming.org
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!