Re: jogl with Java 1.7
Posted by
jiapei100 on
URL: https://forum.jogamp.org/jogl-with-Java-1-7-tp4025660p4025680.html
Finally, it turned out to be a very popular error related to antlr.
However, I don't have the solution yet.
<nabble_embed>java.generate.copy2temp:
[gluegen] Exception in thread "main" java.lang.NoClassDefFoundError: antlr/RecognitionException
[gluegen] at java.lang.Class.getDeclaredMethods0(Native Method)
[gluegen] at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
[gluegen] at java.lang.Class.getMethod0(Class.java:2685)
[gluegen] at java.lang.Class.getMethod(Class.java:1620)
[gluegen] at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:488)
[gluegen] at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:480)
[gluegen] Caused by: java.lang.ClassNotFoundException: antlr.RecognitionException
[gluegen] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[gluegen] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[gluegen] at java.security.AccessController.doPrivileged(Native Method)
[gluegen] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[gluegen] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[gluegen] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[gluegen] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[gluegen] ... 6 more
BUILD FAILED
/home/pei/MyPrograms/Java/Eclipse/Cannonical/jogl/make/build.xml:75: The following error occurred while executing this line:
/home/pei/MyPrograms/Java/Eclipse/Cannonical/jogl/make/build-jogl.xml:755: The following error occurred while executing this line:
/home/pei/MyPrograms/Java/Eclipse/Cannonical/jogl/make/build-jogl.xml:418: GlueGen returned: 1</nabble_embed>
What is a potential solution? I tried to reinstall antlr-2.7.7 and remove antlr3 already !! Still the same error as mentioned.
What else can I try?
Cheers
Pei