On Jul 21, 5:50 pm, Tamreen Khan <histor...@gmail.com> wrote: > Hmm, I have clojure.jar, but not clojure-1.3.jar in clojurescript/lib > > > > On Thu, Jul 21, 2011 at 5:49 PM, Tamreen Khan <histor...@gmail.com> wrote: > > Yes. It worked fine. > > > On Thu, Jul 21, 2011 at 5:48 PM, Devin Walters <dev...@gmail.com> wrote: > > >> 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 clojure@googlegroups.com (mailto: > >> 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 (mailto: > >> clojure+unsubscr...@googlegroups.com) > >> > 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 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
For me, if I replaced the ":" in the classpath argument with ";" I was able to get the repl working. -- 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