Groovy not starting on Windows 7 64

If I type groovy in cmd , nothing happens. I see a new find.exe process that consumes 25% of the CPU time in 30 minutes. If I kill him, the console will display

ERROR: JAVA_HOME invalid directory installed: $CORRECT_JDK_PATH

How can i fix this?

+4
source share
4 answers

This is a known issue. The initial launcher has a 32-bit executable and cannot load a 64-bit JVM: http://jira.codehaus.org/browse/GMOD-222

I am using groovyconsole.bat

+8
source

Basically, just specify the JAVA_HOME environment variable in the jdk folder, not the jre folder. To run groovy, you need the JDK, not the JRE, so just make sure you have the JDK installed, and then make sure the correct folder is installed for JAVA_HOME var.

Oh, and don't forget to start a new cmd window after changing JAVA_HOME var so that it takes effect.

0
source

Your JAVA_HOME incorrect, because instead of the line $CORRECT_JDK_PATH put the line $CORRECT_JDK_PATH ...

0
source

I solved this problem by removing Groovy and downloading the binary version, then go to the “properties” from the computer, open the control panel, on the side panel, select “Advanced system settings” and click “Environment variables”, GROOVY_HOME “click” Change and change the location for your groovy decompiler. I recommend in "C: \ Program Files (x86) \ Groovy \ Groovy-2.4.5 \ bin" and select "OK".

0
source

Source: https://habr.com/ru/post/1397199/


All Articles