Show Posts
|
|
Pages: [1]
|
|
2
|
Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL
|
on: 2009-06-11 18:02:33
|
|
I'm getting an error similar to the one listed a couple of posts above. I've double-checked and there is only one instance of the gluegen-rt.jar file on my system and it is in the same directory as my jogl.jar file (which Java is finding correctly).
Here is the command I'm running and here is the error: [CODE] c:\JOGL\Examples>java -Djava.library.path=c:\jogl\native -classpath c:\jogl\jogl.jar;. SimpleJOGL
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106) at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90) at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:83) at SimpleJOGL.main(SimpleJogl.java:23) Caused by: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 32 more [/CODE]
|
|
|
|
|
3
|
Java Game APIs & Engines / JOGL Development / Re: New to JOGL - where to start?
|
on: 2009-06-11 16:49:42
|
|
Awesome! Thanks for the heads up.
I didn't know we had access to the entire OpenGL library - that is pretty incredible.
I've heard "the red book" passed around quite frequently - I'll look for it at the bookstore today/tomorrow.
A couple of more questions: 1) Is it better to write the OpenGL stuff first in C and then port it some how? 2) How can I find out which OpenGL features go with which version? OpenGL 1.0, 1.5, 2.0, etc.
The reason for #2 is important. I'm doing some visualization stuff for Cloud Computing and it needs to work on a wide range of systems. I've tried some of the JOGL demos on a very old IBM Thinkpad with no dedicated gfx card and it was able to run all the demos that had "no requirements".
Thanks again.
-Anthony
|
|
|
|
|
4
|
Java Game APIs & Engines / JOGL Development / New to JOGL - where to start?
|
on: 2009-06-10 21:47:34
|
|
First off, it took me quite a while to find an active community that was actually using/discussing anything JOGL-related.
Is there an updated guide on how to get JOGL, Java Webstart, etc up and running?
Also, how much OpenGL do you need to know? I'm a CS Major so I know a little Java and C.
Thanks in advance, - Anthony
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|