Error starting groovyserver \ Groovy \ Groovy-2.3.3 \ bin \ .. was unexpected at this time

I just downloaded and installed Groovy 2.3.3 using the Windows installer. When I try to run some of the examples using groovyclient(which tries to run groovyserver), I get the following error.

\Groovy\Groovy-2.3.3\bin\.. was unexpected at the moment.

My Groovy_Homelooks like this: GROOVY_HOME=C:\Program Files (x86)\Groovy\Groovy-2.3.3

The full output is as follows:

C:\Users\Greg>groovyserver     
Groovy home directory: "C:\PROGRA~2\Groovy\GROOVY~1.3"
Groovy command path: "C:\PROGRA~2\Groovy\GROOVY~1.3\bin\groovy.bat" (found at GR
OOVY_HOME)
\Groovy\Groovy-2.3.3\bin\.. was unexpected at this time.

I am running Windows 7 Home Premium - 64 bit

+4
source share
1 answer

Not sure if this is a universal solution, but here's what worked for me on two separate machines running Windows 7 Home Premium (64) and Windows 7 Enterprise (64).

Groovy 2.2.1 Groovy 2.3.4

Groovy , Program Files. groovyclient groovyserver , .

-, Groovy , Program Files. , . , - , groovyclient, (C:\Groovy\Test groovy with spaces\Groovy-2.2.1 ). , - .

- , , . , , , .

+1

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


All Articles