Compilation of a groovy plugin project when JAVA_HOME not defined :
[ant:groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[ant:groovyc] General error during semantic analysis: unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
[ant:groovyc]
[ant:groovyc] java.lang.ClassNotFoundException: unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings
[ant:groovyc] at org.codehaus.groovy.tools.javac.JavacJavaCompiler.findJavac(JavacJavaCompiler.java:190)
With JAVA_HOME : success
|