Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-20 Thread Erki Esken
On Thursday, March 19, 2015 at 1:28:18 PM UTC+2, David Nolen wrote: > Yes it look like in both cases you all have written: > (require 'cljs.closure') > which doesn't mean what you think in Clojure, but may seem familiar if you're > used to JavaScript. The right thing is: > (require 'cljs.closure)

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-19 Thread Sergi Mansilla
That was it, solved for me now. Silly that I didn't see it before. Thanks! On Thursday, 19 March 2015 12:28:18 UTC+1, David Nolen wrote: > Good catch and shame on me for not reading the precise error closely enough > in both cases :) > > > Yes it look like in both cases you all have written:

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-19 Thread David Nolen
Good catch and shame on me for not reading the precise error closely enough in both cases :) Yes it look like in both cases you all have written: (require 'cljs.closure') which doesn't mean what you think in Clojure, but may seem familiar if you're used to JavaScript. The right thing is: (requi

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-19 Thread Thomas Heller
> Caused by: java.io.FileNotFoundException: Could not locate > cljs/closure'__init.class or cljs/closure'.clj on classpath: Is it possible you are trying (require 'cljs.closure')? That trailing ' should otherwise not be there. ' means quote in Clojure and is not a String. -- Note that posts f

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-19 Thread David Nolen
Still missing critical information like the results of running the following after starting a _regular_ Clojure REPL with `java -cp cljs.jar clojure.main`: (System/getProperty "java.class.path") (require 'cljs.closure) On Thu, Mar 19, 2015 at 6:12 AM, Sergi Mansilla wrote: > On Tuesday, 17 Marc

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-19 Thread Sergi Mansilla
On Tuesday, 17 March 2015 19:10:51 UTC+1, David Nolen wrote: > I don't know what else to suggest other than you're going to need to try some > experiments to figure out what going on, the Clojure REPL you started can > help you: > > > (System/getProperty "java.class.path") > (require 'cljs.clo

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-17 Thread David Nolen
I don't know what else to suggest other than you're going to need to try some experiments to figure out what going on, the Clojure REPL you started can help you: (System/getProperty "java.class.path") (require 'cljs.closure) etc. David On Tue, Mar 17, 2015 at 2:07 PM, Josh Nursing wrote: > Ye

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-17 Thread Josh Nursing
Yes, that works and drops me in Clojure 1.6.0 with the user=> prompt. On Tuesday, 17 March 2015 07:30:56 UTC-4, David Nolen wrote: > And `java -cp cljs.jar clojure.main` drops you into a regular Clojure REPL? > > David -- Note that posts from new members are moderated - please be patient with y

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-17 Thread David Nolen
And `java -cp cljs.jar clojure.main` drops you into a regular Clojure REPL? David On Tue, Mar 17, 2015 at 6:37 AM, Josh Nursing wrote: > Yes, I had made sure yesterday to grab the latest Java. Removed the > CLASSPATH, re-checked PATH and access to the bin and script, which are > fine, but still

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-17 Thread Josh Nursing
Yes, I had made sure yesterday to grab the latest Java. Removed the CLASSPATH, re-checked PATH and access to the bin and script, which are fine, but still no go for me. lein new figwheel followed by lein figwheel appears to work for me though. On Monday, 16 March 2015 22:12:28 UTC-4, David No

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-16 Thread David Nolen
Many people on OS X have gone through the Quick Start without issue. `java -version` at the command line returns 8 I assume? If you have some global CLASSPATH thing I would remove that. Not generally a good idea. On Monday, March 16, 2015, Josh Nursing wrote: > Thanks David, > > Tried with a fr

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-16 Thread Josh Nursing
Thanks David, Tried with a fresh download from the browser, the previous cljs.jar was 19644097 bytes and the new one is 19673805 bytes. I get the same error with the new one. Is there a configuration lacking with my .profile which prevents Java from reaching closure? I have added the closure/c

Re: [ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-16 Thread David Nolen
I'm using the JAR right now on OS X Yosemite with Java 8. Are you sure you downloaded the JAR correctly? A few people have mentioned incorrectly grabbing the JAR with curl/wget. David On Mon, Mar 16, 2015 at 7:24 PM, Josh Nursing wrote: > I am being frustrated in trying out the latest Clojuresc

[ClojureScript] Mac OS X Classpath issue in Getting Started?

2015-03-16 Thread Josh Nursing
I am being frustrated in trying out the latest Clojurescript release on Mac OS X Yosemite. Not sure what I am doing wrong. I follow the Getting Started instructions and get this error on launching "java -cp cljs.jar:src clojure.main build.clj" "Exception in thread "main" java.io.FileNotFoundExc