title: Error: Could not find or load main class org.codehaus.groovy.tools.GroovyStarter (groovy-3.0.7)
body: <p>I am trying to install Groovy on Windows 10 manually.
  And I keep receiving the following error.
  Error: Could not find or load main class org.codehaus.groovy.tools.GroovyStarter
  Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.tools.GroovyStarter</p>
  <p>What I did is:</p>
  <pre><code>C:\WINDOWS\system32&gt;Setx JAVA_HOME &quot;C:\Program Files\Java\jdk-13.0.2&quot;
  
  SUCCESS: Specified value was saved.
  
  C:\WINDOWS\system32&gt;echo %java_home%
  C:\Program Files\Java\jdk-13.0.2
  
  C:\WINDOWS\system32&gt;Md &quot;C:\Program Files (x86)\Groovy&quot;
  
  C:\WINDOWS\system32&gt;move &quot;C:\temp\groovy-3.0.7&quot; &quot;C:\Program Files (x86)\Groovy&quot;
  
  C:\WINDOWS\system32&gt;Setx GROOVY_HOME &quot;C:\Program Files (x86)\Groovy\groovy-3.0.7\src&quot;
  
  C:\WINDOWS\system32&gt;set PATH=&quot;C:\Program Files (x86)\Groovy\groovy-3.0.7\src\bin&quot;;%PATH%
  </code></pre>
  <p>And when I type &quot;groovysh&quot;</p>
  <pre><code>C:\WINDOWS\system32&gt;groovysh
  Error: Could not find or load main class org.codehaus.groovy.tools.GroovyStarter
  Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.tools.GroovyStarter
  </code></pre>
  <p>I am not sure what I have missed.</p>
  <p>It would be greatly appreciated if anyone points out my mistake.</p>
  <p>Thanks.</p>