Trying out Groovy on my laptop running Windows XP and kept getting the errormessage:

error: could not find client or server jvm under C:\apps\IBM\SDP\jdk\bin
please check that it is a valid jdk / jre containing the desired type of jvm

JAVA_HOME was set, tried to add the path to the jdk, but still did not help. Then found the solution at …startup-error-….html. Problem was that when issuing the command ‘groovy’ alone it runs the groovy.exe, but the .exe-file does not handle the paths correct for some reason. Running groovy.bat fixes the problem since it handles the paths correctly.