title: java.lang.NoSuchMethodError: javax.media.opengl.GLDrawableFactory.initSingleton()V
body: <p>I am trying to use the JZY3D libraries in my Java project.</p>
  
  <p>Starting with the basic, I set up the following main():</p>
  
  <pre><code>public static void main(final String[] args) {
    new GLCapabilities(GLProfile.getDefault());
  }
  </code></pre>
  
  <p>The jogl-all.jar, gluegen-rt.jar and gluegen.jar files are in the build path. I get the following exception:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError: javax.media.opengl.GLDrawableFactory.initSingleton()V
      at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1444)
      at javax.media.opengl.GLProfile.access$100(GLProfile.java:76)
      at javax.media.opengl.GLProfile$1.run(GLProfile.java:174)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:140)
      at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:199)
      at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1914)
      at javax.media.opengl.GLProfile.get(GLProfile.java:815)
      at javax.media.opengl.GLProfile.getDefault(GLProfile.java:602)
      at javax.media.opengl.GLProfile.getDefault(GLProfile.java:613)
      at eu.crisis_economics.abm.model.SpecsCompetitionStrategyCFO.main(SpecsCompetitionStrategyCFO.java:312)
  </code></pre>
  
  <p>It seems like there is a problem with the 3d libraries, but I cannot figure out what.</p>