Setup Groovy in Mac OS X I have downloaded groovy-binary-1.7.10.zip, unzipped @ /Users/sarbbottam/SW Developments/groovy-1.7.10 and navigated to /Users/sarbbottam/SW Developments/groovy-1.7.10/bin. I tried to execute ./groovysh; however, I got the below error.



Sarbbottam-Bandyopadhyays-MacBook-Pro:bin sarbbottam$ ./groovysh
Exception in thread "main" java.lang.NoClassDefFoundError: Developments/groovy-1/7/10/bin/groovy/icns
Caused by: java.lang.ClassNotFoundException: Developments.groovy-1.7.10.bin.groovy.icns
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Sarbbottam-Bandyopadhyays-MacBook-Pro:bin sarbbottam$


Do you have any suggestion?
Try renaming your SW Developments folder to one word (with no spaces or an underscore).

Looks like the space is causing a problem in loading the library.