download jogl - compiler error - facing some issues

hey.

im new to jogl and am having some problems integrating it into my programs.

things i have done:

  • dowloaded jogl.jar, jogl_awt.dll, jogl.dll, jogl_cg.dll
  • CLASSPATH: C:\Documents and Settings\Dhruv\My Documents\Java;C:\Documents and Settings\Dhruv\My Documents\Java\jogl.jar
  • PATH: C:\Java\bin
  • put jogl.jar in C:\Documents and Settings\Dhruv\My Documents\Java
  • put jogl_awt.dll, jogl.dll, jogl_cg.dll in C:\Java\bin
  • downloaded jogl-1_0_0-src which contains javax/media/opengl/
  • put the folder “media” in C:\Java\src\javax (contains all other java classes)

testing:
System.loadLibrary(“jogl”) --> WORKS PERFECTLY
import javax.media.opengl.* --> ERROR --> package javax.media.opengl does not exist

since package is not recognized, i cannot implement any openGL classes into my programs…

help please - i have been struggling for two days now…

that is my only issue with the installation at this point. everything else works fine…

how do i make the javax.media.opengl classes available for use???

There may be an issue with the spaces in your CLASSPATH. Try making a top-level directory like C:\java_ext and dropping the JOGL DLLs and jogl.jar in there. Add e.g. C:\java_ext to your PATH environment variable (delete the copies from inside your JRE, in C:\Java\bin; they will interfere with Java Web Start) and C:\java_ext\jogl.jar to your CLASSPATH. At that point javac should be able to see e.g. javax.media.opengl. Also check the JOGL User’s Guide to see if there’s anything obvious I missed in this explanation.

thanks a lot…you made my day

everything works - i got my first jogl program deployed successfully!!