logo       

RE: lauching groovyConsole on MacOS X: msg#00129

lang.groovy.user

Subject: RE: lauching groovyConsole on MacOS X

Hello Yvon,

The Groovy console won't run unfortunately.
We had a little problem with our build process which *forgot* to include
some classes in the jar.
Thus, the console, among other things, was left out.
We'll try to fix that for the next beta.
Sorry for any inconvenience :-(

--
Guillaume Laforge
http://glaforge.free.fr/weblog

-----Message d'origine-----
De : Yvon Thoraval [mailto:yvon_thoraval-ee4meeAH724@xxxxxxxxxxxxxxxx]
Envoye : vendredi 22 octobre 2004 08:36
A : user-i9PBDF1N6cxnkHa44VUL00B+6BGkLq7r@xxxxxxxxxxxxxxxx
Objet : [groovy-user] lauching groovyConsole on MacOS X


Hey all,

new to groovy, i get stuck on a stupid
"java.lang.ClassNotFoundException" when trying to launch
"groovyConsole" i think the sh script doesn't output the correct
classpath, or th specific java install on MacOS X isn't take into
account ???

here are my $JAVA_HOME : /Library/Java/Home
$GROOVY_HOME : /Users/yvon/work/Java/groovy
$PATH :
[...]/Users/yvon/work/Java/maven/bin:/Users/yvon/work/Java/groovy/bin:
[...]

may be, someone on this list is working on MacOS X Panther (10.3.5) and

knows how to change the classpath in this script.

I should say groovysh is working as expected :

nord-2-FREEBOX:~/work/Java/groovy> groovysh
Lets get Groovy!
================
Version: 1.0-beta-7 JVM: 1.4.2-38
Type 'exit' to terminate the shell
Type 'help' for command help

groovy> help
Available commands (must be entered without extraneous characters):
exit/quit - terminates processing
[...]
execute/go - temporary command to cause statement execution
groovy> exit

Hoping you could help me getting out of this hole ))

Yvon

PS, here is the complete error message :

nord-2-FREEBOX:~/work/Java/groovy> groovyConsole
Exception in thread "main" java.lang.ClassNotFoundException:
groovy.ui.Console
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoad

er.java:135)
at
org.codehaus.classworlds.DefaultClassRealm.loadClassDirect(DefaultClassR

ealm.java:262)
at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.j

ava:239)
at
org.codehaus.classworlds.Launcher.getMainClass(Launcher.java:194)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:371)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:336)
at org.codehaus.classworlds.Launcher.main(Launcher.java:461)



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise