Building OpenJFX with errors: ANTLR missing

Tobias Bley tobi at ultramixer.com
Wed Feb 27 03:48:09 PST 2013


Hi,

I tried to build the current OpenJFX but I'm getting the following error:

Created dir: /Applications/Developer/Java/open-jfx/master/rt/decora-compiler/build/gensrc/com/sun/scenario/effect/compiler
java
Exception in thread "main" java.lang.NoClassDefFoundError: antlr/ANTLRException
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2474)
	at java.lang.Class.getMethod0(Class.java:2715)
	at java.lang.Class.getMethod(Class.java:1622)
	at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:528)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:510)
Caused by: java.lang.ClassNotFoundException: antlr.ANTLRException
	at java.net.URLClassLoader$1.run(URLClassLoader.java:359)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	... 6 more
Java Result: 1

As I read here (https://wikis.oracle.com/display/OpenJDK/Building+OpenJFX), I have to put the antlr libs in the "open-jfx/master/lib" directory. But it doesn't help

Any ideas?

Best regards,
Tobi





More information about the openjfx-dev mailing list