groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winnebeck, Jason" <Jason.Winneb...@windstream.com>
Subject RE: Groovy Console wont start
Date Fri, 18 Mar 2016 12:27:10 GMT
Are you calling groovyStart directly? That script takes a built program as a parameter (like
one you build). If you want to run Groovy Console that comes with Groovy, you need to run
groovysh.bat (for command line version) or groovyConsole.bat (for GUI version).

Jason Winnebeck

-----Original Message-----
From: Mart [mailto:M.Ayre@herts.ac.uk] 
Sent: Friday, March 18, 2016 6:51 AM
To: users@groovy.incubator.apache.org
Subject: Groovy Console wont start

As anew green user can anyone help me getting the Groovy Console  2.4.6 to
fire up.

I have very little knowledge of Java so Im look for detailed help.

I have looked at the startGroovy.bat placing pauses in the code and found
where it fails but I don’t have the knowledge to go further.

There is a problem somewhere here, the paths exist

"C:\Java\jdk\bin\java.exe" 
                "-Xmx128m" 
                -Dprogram.name="" 
                -Dgroovy.home="C:\Program Files (x86)\Groovy\Groovy-2.4.6" 
                -Dtools.jar="C:\Java\jdk\lib\tools.jar" 
                -Dgroovy.starter.conf="C:\Program Files
(x86)\Groovy\Groovy-2.4.6\conf\groovy-starter.conf" 
                -Dscript.name=""  
                -classpath "C:\Program Files
(x86)\Groovy\Groovy-2.4.6\lib\groovy-2.4.6.jar" 
                org.codehaus.groovy.tools.GroovyStarter 
                --main  
                --conf pause

This is the Java error below at the Bottom

Press any key to continue . . .
at have_JAVA_HOME
Press any key to continue . . .
at valid_JAVA_HOME_DIR
Press any key to continue . . .
at valid_JAVA_HOME
Press any key to continue . . .
at check_GROOVY_HOME
Press any key to continue . . .
at execute
Press any key to continue . . .
at after_cp
Press any key to continue . . .
groovy_opts="-Xmx128m" -Dprogram.name="" -Dgroovy.home="C:\Program Files
(x86)\G
roovy\Groovy-2.4.6" -Dtools.jar="C:\Java\jdk\lib\tools.jar"
-Dgroovy.starter.con
f="C:\Program Files (x86)\Groovy\Groovy-2.4.6\conf\groovy-starter.conf"
-Dscript
.name=""
Press any key to continue . . .
"C:\Java\jdk\bin\java.exe" "-Xmx128m" -Dprogram.name=""
-Dgroovy.home="C:\Progra
m Files (x86)\Groovy\Groovy-2.4.6" -Dtools.jar="C:\Java\jdk\lib\tools.jar"
-Dgro
ovy.starter.conf="C:\Program Files
(x86)\Groovy\Groovy-2.4.6\conf\groovy-starter
.conf" -Dscript.name=""  -classpath "C:\Program Files
(x86)\Groovy\Groovy-2.4.6\
lib\groovy-2.4.6.jar" org.codehaus.groovy.tools.GroovyStarter --main  --conf
pau
se
java.lang.ClassNotFoundException: --conf
        at
org.codehaus.groovy.tools.RootLoader.findClass(RootLoader.java:179)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at
org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:151)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at
org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java
:99)
        at
org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)
Press any key to continue . . .







--
View this message in context: http://groovy.329449.n5.nabble.com/Groovy-Console-wont-start-tp5731981.html
Sent from the Groovy Users mailing list archive at Nabble.com.

----------------------------------------------------------------------
This email message and any attachments are for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all copies of the
original message and any attachments.
Mime
View raw message