JOGL2 jar/natives what's what?

I downloaded ‘jogl-2.0-macosx-universal.zip’, which has about 80 files in the lib directory. I like the fine granularity idea, since it should make for smaller faster runtime bundles, but I’m currently lost as to which files I need…

At the moment my app is using webstart, jogl and swing on the desktop. So I’d like to know which files I need to get that working with interface GL2.

I started to try and break this down via a spreadsheet based on the names, but didn’t get very far…
http://spreadsheets.google.com/ccc?key=0AtRBY9LDlcqYdEZqUTU4cUJWUS1jclE2ZDBlRVUxdFE&hl=en_GB

Are there some descriptions for the jars? the included readme.txt looks outdated and references the old user guide.

So far I’m guessing with:

jogl.all.jar
nativewindow.all.jar
libnativewindow_jvm.jnilib

This gets me a bit further, but now I’m stuck at:

Caused by: javax.media.opengl.GLException: No profile available: [GL2, GL2ES2, GL2ES1, GLES2, GLES1, GL2GL3, GL3]
at javax.media.opengl.GLProfile.(GLProfile.java:750)

gluegen-rt.jar and the gluegen-rt natives are missing

no joy, same error. Could it be something else relating to migrating from JOGL to JOGL2?

you could give the NetBeans JOGL2 ready-to-run project templates a try they use jogl.all.jar nativewindow.all.jar and newt.all.jar
http://www.java-gaming.org/index.php/topic,21023.0.html

warning: work in progress

feedback for NB in other thread.

Anyway I got some distance further :slight_smile: At least TextRenderer parts of scene displaying.

Now I have something which I’ve seen mentioned elsewhere, something that used to work in JOGL but has maybe not yet been ported to JOGL2. It’s part of my custom texture handling code.

Exception in thread “AWT-EventQueue-0” javax.media.opengl.GLException: not implemented
at javax.media.opengl.glu.GLU.gluBuild2DMipmaps(GLU.java:1484)

Update: I’m having a play with TextureIO instead, maybe it’s time I caught up with technology :slight_smile:
Update2: So TextureIO is working fine as a replacement, and it’s reduced my code to maintain by a few lines which is always nice.