0

I am trying to install Groovy on windows 10. I have Java 17.0.4.1 installed and trying to install groovy 4.0.5 & here is the link (https://groovy.jfrog.io/ui/native/dist-release-local/groovy-windows-installer/groovy-4.0.5/) after installation I opened command prompt typed "groovy --version" its returning empty.

enter image description here

I have looked at the Environment variable under System variables GROOVY_HOME is created and also the Path. enter image description here

this image is from the Path:

enter image description here

I am not able to understand why the "groovy --version" is giving empty. Please help me with this issue.

santosh
  • 192
  • 9

1 Answers1

0

I also faced similar issue today !! Below are my findings and solved my problem if these can help

My JDK installed in system : C:\Program Files\Java\jdk1.8.0_201 I set Environment Variable : JAVA_HOME and value : C:\Program Files\Java\jdk1.8.0_201 I installed using installer - groovy-4.0.7.msi I set Environment Variable : GROOVY_HOME and value : %GROOVY_HOME%bin

groovy -version Groovy Version: 4.0.7 JVM: 1.8.0_201 Vendor: Oracle Corporation OS: Windows 10

Apology I am not able to share screen shot. Hope this might help.

Procrastinator
  • 2,526
  • 30
  • 27
  • 36