title: JOGL program does not compile - javac with classpath
body: <p>I want to run a HelloWorld JOGL programm on the commandline. I downloaded the .jars from jogamp.org and put the </p>
  
  <pre><code>gluegen-rt.jar , 
  jogl.all.jar , 
  gluegen-java-src.zip , 
  jogl-java-src.zip , 
  gluegen-rt-natives-macosx-universal.jar , 
  jogl-all-natives-macosx-universal.jar 
  </code></pre>
  
  <p>in a directory "jar" in my HelloWorld folder  -  as described in 
  <a href="http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL" rel="nofollow">http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL</a> .</p>
  
  <p>Now I try to compile with </p>
  
  <pre><code>javac -classpath "jar/gluegen-rt.jar:jar/jogl.all.jar" HelloWorld.java 
  </code></pre>
  
  <p>as described on <a href="https://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE" rel="nofollow">https://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE</a> .</p>
  
  <p>Then it throws me 14 errors starting with </p>
  
  <pre><code>HelloWorld.java:7: package javax.media.opengl does not exist
  import javax.media.opengl.GL;
                           ^
  </code></pre>
  
  <p>When I try to compile with absolute paths using </p>
  
  <pre><code>javac -classpath "/Users/jonas/Desktop/cool_jogl/helloworld/jar/gluegen-rt.jar:/Users/jonas/Desktop/cool_jogl/helloworld/jar/jogl-all.jar" HelloWorld.java 
  </code></pre>
  
  <p>it still throws me 12 errors starting with </p>
  
  <pre><code>HelloWorld.java:9: cannot find symbol
  symbol  : class GLCanvas
  location: package javax.media.opengl
  import javax.media.opengl.GLCanvas;
                           ^
  </code></pre>