Did you run script/bootstrap? You need a clojure-1.3 jar in your clojurescript/lib directory.
On Thursday, July 21, 2011 at 4:45 PM, Tamreen Khan wrote: > Hi everyone, I'm trying to get the repl for Clojurescript to start under > Windows but keep running into the following error: > > Exception in thread "main" java.lang.NoClassDefFoundError: clojure/main > Caused by: java.lang.ClassNotFoundException: clojure.main > 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:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > Could not find the main class: clojure.main. Program will exit. > > > I've tried both running the script under cygwin and putting the contents into > a batch file and running it with cmd.exe (it shouldn't be a problem since > script/repl just contains one command which starts the java runtime with a > few options). I've even tried changing the forward slashes in the command to > backslashes. > > Also, I'm running these commands from the clojurescript root directory. Even > though it probably won't affect it I've set CLOJURESCRIPT_HOME as well. Any > ideas? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > (mailto:[email protected]) > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]) > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
