I am using JDK 1.8. I set the path for JDK, JAVA_HOME and a separate path for tools.jar.
tools.jar
I still cannot compile my project, and I get the following message:
and if I continue, this will result in the following error:
[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] General error during semantic analysis: the java com.sun.tools.javac.Main compiler cannot be found, please change the settings of the [Groovyc] loader class [groovyc] java.lang.ClassNotFoundException: cannot find the java compiler com.sun.tools.javac.Main, please change the settings of the class loader.
, JRE JDK. . question JDK eclipse. , JDK, JRE
, . > "Java Build Path" , "JRE System Library", ""... " JRE" " JRE" JRE, , ( JDK ) , "...", "" > "Windows C: > " Program Files " > " Java ", " ".
GGTS, JDK JRE, GGTS .
java 8u31 grails, .