JOGL Applet in Mac

Hi all :slight_smile:

I’m currently doing a JOGL applet test in Mac OSX, and I’m using the JOGLAppletLauncher code downloaded from jogl.dev.java.net to launch my applet.
I put jogl.jar, jogl-1_0_0-macosx-ppc.jar, and jogl-1_0_0-macosx-universal.jar in the same place as my jar.
When I launch the applet (thru the applet launcher), it seems to run the applet launcher properly, but when my actual JOGL applet
begin execution, it will throw exceptions:

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)

java.lang.UnsatisfiedLinkError: glGenTextures1
at com.sun.opengl.impl.GLImpl.glGenTextures1(Native Method)
at com.sun.opengl.impl.GLImpl.glGenTextures(GLImpl.java:5637)

Any of you guys have any idea about this? Any helps is greatly appreciated ^^
Thanks in advance ;D

A missing gluegen-rt jar ?

Lilian :slight_smile:

hi there :slight_smile:

umm…It still doesn’t work.
I need to note that in the AppletLauncher, I can’t do “com.sun.gluegen.runtime.NativeLibLoader.disableLoading();” because it cannot find the NativeLibLoader class…
and I saw in my jogl.jar that I’m using as well as https://jogl.dev.java.net/source/browse/jogl/src/classes/com/sun/gluegen/runtime/?hideattic=0#dirlist,
I can’t find the class.

What am I missing here? Sorry, still quite blur ^^;

Does the JOGL applet test off the jogl-demos page work? If so, it’s something on your server side. Were any errors reported in the status bar of the JOGLAppletLauncher or the Java Console while launching your applet?

If not, it’s a problem with your local machine’s setup. Make 100% sure you have not dropped any jogl.jar or JOGL .jnilibs into your /System/Library/Java/Extensions or /Library/Java/Extensions directories.

No, if I’m not wrong, there’s no error reported by the JOGLAppletLauncher, although I did modify the code a bit (see my prev. post).

Will try again next week and post the result :slight_smile:

You shouldn’t need to touch the code in the JOGLAppletLauncher at all. Both the 1.0.0 and current 1.1.0 Release Candidate versions should work unmodified. It might be best if you base your tests off the current 1.1.0-rc3 build.

Hi Ken,
Well, I need to touch on the code because I had to make some modification (‘addition’ to be more accurate) to fit it to my program…

This week is quite a busy week and I haven’t got the time to try out the applet on the mac yet. Will keep you posted :slight_smile: