I expect Clojure maintainers to provide a working distro but anyway, I checked clj script under the script directory:
#!/bin/sh CLASSPATH=src/clj:test:test-classes:classes/:script/ jline-0.9.94.jar:../clojure-contrib/target/clojure-contrib-1.2.0- SNAPSHOT.jar if [ -z "$1" ]; then exec java -server jline.ConsoleRunner clojure.main else SCRIPT=$(dirname $1) export CLASSPATH=$SCRIPT/*:$SCRIPT:$CLASSPATH exec java -Xmx3G -server clojure.main "$1" "$@" fi I copied the jline jar to script directory but I still get the same error. On Dec 9, 3:54 am, Tim Robinson <tim.blacks...@gmail.com> wrote: > Did you download jline and put it in a location where it can been > accessed with the classpath? > > http://jline.sourceforge.net/ > > On Dec 8, 6:47 pm, HB <hubaghd...@gmail.com> wrote: > > > > > Hi, > > I downloaded Clojure > > 1.2https://github.com/downloads/clojure/clojure/clojure-1.2.0.zip > > and extract it. > > I created CLOJURE_HOME and added $CLOJURE_HOME/script to my $PATH > > Upon trying clj or repl , I got this error: > > > Exception in thread "main" java.lang.NoClassDefFoundError: jline/ > > ConsoleRunner > > Caused by: java.lang.ClassNotFoundException: jline.ConsoleRunner > > 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) > > > Any idea what is going wrong? > > I'm on OS X 10.6 > > > Thanks for help and time. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en