[quote]The exception ClassNotFoundException means that Java can not find the given class in your classpath. In this case, the class in question is " net.java.games.jogl.impl.windows.WindowsGLContextFactory".
Have you checked your classpath for this class? I’m guessing you havn’t so I’ll have a look myself. I will make the assumption that you have assumed this class, being related to JOGL is in the jogl.jar file.
Lets take a look at that file:
$ wget http://www.kinostudios.com/jws/libs/jogl.jar
$ unzip -l jogl.jar | grep WindowsGLContextFactory
Interesting - there was no output from grep - so jogl.jar doesn’t have this class file. I won’t look at the other .jar’s in your class path as I am pretty sure you are expecting jogl.jar to have this class.
Can you “normally” expect jog.jar to have this file? Lets compare the
output from a known “good” jogl.jar file (this one straight from Xith3D CVS).
$ unzip -l ~/proj/xith3d/third-party/jogl/jogl.jar | grep WindowsGLContextFactory
2278 04-29-04 14:58 net/java/games/jogl/impl/windows/WindowsGLContextFactory$1.class
771 04-29-04 14:58 net/java/games/jogl/impl/windows/WindowsGLContextFactory$2.class
3504 04-29-04 14:58 net/java/games/jogl/impl/windows/WindowsGLContextFactory.class
It appears that jogl.jar usually has this class file, but the version you are using isn’t the one from Xith3D CVS and doesn’t have this file.
Will.
[/quote]
Yet once again you save me. Thank you for spending the time to help me
I don’t know why it didn’t have those classes. It makes no sense. Sometimes I thought I was using the one from the Xith package, and other times I think I might have been using the one from the JOGL site. I don’t know why these classes weren’t included in any of the jars I was using, but after redownloading it again straight from the xith third-party’s folder it worked. Perhaps you might know why those jars I had didn’t include these rather essential windows classes?