Why won't my Grails find JDK?

I am using JDK 1.8. I set the path for JDK, JAVA_HOME and a separate path for tools.jar.

I still cannot compile my project, and I get the following message:

enter image description here

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.

+4
3

, JRE JDK. . question JDK eclipse. , JDK, JRE

0

, . > "Java Build Path" , "JRE System Library", ""... " JRE" " JRE" JRE, , ( JDK ) , "...", "" > "Windows C: > " Program Files " > " Java ", " ".

0

GGTS, JDK JRE, GGTS .

java 8u31 grails, .

0
source

All Articles