Home > Archive > Java Help > June 2007 > jogl
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Ivan Danicic 2007-05-05, 7:08 pm |
| Hello all, I am installing jogl for linux. When trying to run a jogl
program I get the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0
I would be most grateful if you would suggest a remedy.
Ivan
| |
| Ivan Danicic 2007-05-06, 7:07 pm |
| On Sat, 05 May 2007 17:01:25 +0000, Ivan Danicic wrote:
> Hello all, I am installing jogl for linux. When trying to run a jogl
> program I get the following error:
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0
> I would be most grateful if you would suggest a remedy.
> Ivan
Hello, here is the error trace:
Exception in thread "main" java.lang.UnsatisfiedLinkError: net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/Buffer;)Z
at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Native Method)
at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT(JAWTFactory.java:37) at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:78)
at java.security.AccessController.doPrivileged(Native Method)
at net.java.games.jogl.impl.NativeLibLoader.load(NativeLibLoader.java:58)
at net.java.games.jogl.impl.x11.X11GLContextFactory.<clinit>(X11GLContextFactory.java:50)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at net.java.games.jogl.impl.GLContextFactory.getFactory(GLContextFactory.java:69)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:150)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:118)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:85)
at twocanvases2.<init>(twocanvases2.java:23)
at twocanvases2.main(twocanvases2.java:48)
This has of course nothing to do with the java program, which has run
perfectly in the past, as have all the others which gave this message. The
only things that have changed are possibly the java interpreter and javac,
native libraries and jogl. Please suggest causes and remedies.
Ivan#
| |
| Richard Reynolds 2007-05-06, 7:07 pm |
|
"Ivan Danicic" <ivie@localhost.localdomain> wrote in message
news:pan.2007.05.06.21.07.10.958461@localhost.localdomain...
> On Sat, 05 May 2007 17:01:25 +0000, Ivan Danicic wrote:
>
> Hello, here is the error trace:
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/Buffer;)Z
> at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Native Method)
> at
> net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT(JAWTFactory.java:37)
> at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:78)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> net.java.games.jogl.impl.NativeLibLoader.load(NativeLibLoader.java:58)
> at
> net.java.games.jogl.impl.x11.X11GLContextFactory.<clinit>(X11GLContextFactory.java:50)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:169)
> at
> net.java.games.jogl.impl.GLContextFactory.getFactory(GLContextFactory.java:69)
> at
> net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:150)
> at
> net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:118)
> at
> net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:85)
> at twocanvases2.<init>(twocanvases2.java:23)
> at twocanvases2.main(twocanvases2.java:48)
>
> This has of course nothing to do with the java program, which has run
> perfectly in the past, as have all the others which gave this message. The
> only things that have changed are possibly the java interpreter and javac,
> native libraries and jogl. Please suggest causes and remedies.
> Ivan#
I once had this error trying to run the graphical installer for Iona Orbix
over an X server, I googled it and there were vague mentions of various X
and other library issues, try googling java.lang.UnsatisfiedLinkError, see
if anything looks likely.
I never found the cause, it worked on our other dev (solaris) boxes, I gave
up and used a console installer on that one, sorry I can't give better news!
| |
| Ivan Danicic 2007-05-08, 7:10 pm |
| On Sun, 06 May 2007 21:07:25 +0000, Ivan Danicic wrote:
> On Sat, 05 May 2007 17:01:25 +0000, Ivan Danicic wrote:
>
> Hello, here is the error trace:
> Exception in thread "main" java.lang.UnsatisfiedLinkError: net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/Buffer;)Z
> at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT0(Native Method)
> at net.java.games.jogl.impl.JAWTFactory.JAWT_GetAWT(JAWTFactory.java:37) at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:78)
> at java.security.AccessController.doPrivileged(Native Method)
> at net.java.games.jogl.impl.NativeLibLoader.load(NativeLibLoader.java:58)
> at net.java.games.jogl.impl.x11.X11GLContextFactory.<clinit>(X11GLContextFactory.java:50)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:169)
> at net.java.games.jogl.impl.GLContextFactory.getFactory(GLContextFactory.java:69)
> at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:150)
> at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:118)
> at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:85)
> at twocanvases2.<init>(twocanvases2.java:23)
> at twocanvases2.main(twocanvases2.java:48)
>
> This has of course nothing to do with the java program, which has run
> perfectly in the past, as have all the others which gave this message. The
> only things that have changed are possibly the java interpreter and javac,
> native libraries and jogl. Please suggest causes and remedies.
> Ivan#
Hello, in case anyone is interested, this was caused by using
jogl-natives-linux which belonged to a different incarnation of jogl.
Ivan
| |
| confesor@gmail.com 2007-06-04, 7:09 pm |
| On May 8, 10:19 am, Ivan Danicic <i...@localhost.localdomain> wrote:
> On Sun, 06 May 2007 21:07:25 +0000, Ivan Danicic wrote:
>
>
>
> Hello, in case anyone is interested, this was caused by using
> jogl-natives-linux which belonged to a different incarnation of jogl.
> Ivan
Yes I had same problem in Windows. It was caused by wrong jogl .dll
files.
| |
|
|
|
|
|
|
|