The JARs containing the native libraries don't have to be in the classpath but they have to be in the same directory that jogl.all.jar and gluegen-rt.jar. Put jogl.all.jar and gluegen-rt.jar into your classpath too. Maybe look at this for Netbeans IDE:
https://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE