Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
Windows XP, j2sdk1.4.2_06
Description
Below is the text I posted to another site regarding a problem I am having getting groovy to work. I am not sure that it is a problem with groovy, but I am not sure what it is
----------------------
Hi,
I'm a college student researching Groovy for class, as well as possibly using it in the future for personal use etc... Anyway, I am running Windows XP and I have Groovy installed in C:\groovy I have Java installed in C:\j2sdk1.4.2_06
I have my env variables set as follows:
JAVA_HOME=C:\j2sdk1.4.2_06
CLASSPATH=...JAVA_HOME...\bin
GROOVY_HOME=C:\groovy
PATH=...existing-path....;...JAVA_HOME...\bin;...GROOVY_HOME...\bin
When I try to do something at a command prompt such as:
groovyConsole or...
groovysh or...
groovy
What I get is this error from Java.exe:
C:\Documents and Settings\Owner>groovyConsole
Usage: java -options class args...
(to execute a class)
or java -options -jar jarfile args...
(to execute a jar file)
where options include:.........
Any idea how to fix it? From what I have read the command groovyConsole should bring up a window to type commands into and then interpret? But I get errors, even if I try something like "groovy script.groovy" I get the same error. I am running Groovy-1.0-beta-7 and the latest build of j2sdk (I just reinstalled it in hopes it would fix the problem)