|
lauching groovyConsole on MacOS X: msg#00128lang.groovy.user
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> |
|---|---|---|
| Previous by Date: | GPath: descendant-or-self ?, Olivier POTONNIEE |
|---|---|
| Next by Date: | RE: lauching groovyConsole on MacOS X, Laforge Guillaume |
| Previous by Thread: | GPath: descendant-or-self ?, Olivier POTONNIEE |
| Next by Thread: | Re: lauching groovyConsole on MacOS X, Craig S . Cottingham |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |