compile error:cannot access WriteCloneable using jogl library
Hellow everyone. This is my first post.
I downloaded jogamp-all-platform.7z from jogamp.org and extract and decompressed it
and copy a sample program got form internet.
and when try to compile compiler shows message "cannot accees WriteCloneable"
sample program is as follows
public class FirstStepNewt implements GLEventListener { //(1)
public static void main(String[] args) {
new FirstStepNewt();
}
public FirstStepNewt() {
GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL2));//(2)
GLWindow glWindow = GLWindow.create(caps); //(3)
....
error occur at GLWindow.create(caps)
My OS is Wndows10 and command line is
"\Program Files\java\jdk1.8.0_71\bin\javac" -classpath .;"..\jogamp-all-platforms\jar\glugen-rt.jar;..\jogamp-all-platforms\jar\jogl-all.jar" %1
My directiory structure is
+---joamp-all-patforms--jar
|
+--jogltest <- directory where sample program lies
does anyone know cause of error?
Thank you
thank you