I’m using Mac with OSX 10.10.4, JRE and JDK already installed with 1.8 version
@sveri: thanks for your comment. my JAVA_HOME already in place. but still doesn’t work
I’m currently using zsh, not sure because of that ?
@long.clojure Sorry, I don't know anything about mac.
ahh.. it took me forever to figure out this, try many different methods but still doesn’t work. I think I might go with Vim
@long.clojure: can you ran javac from zsh?
Yes I can
what does echo $JAVA_HOME give you in zsh?
It gave me this /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
I think it’s correct path
@long.clojure: Hm, I think it should point to: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk if I am guessing your path correct
Contents/Home looks weird to me, but, like I said, I never used Mac
@long.clojure: that path looks fine. Same as mine. I can start Light Table OK although I don’t use it (emacs). However, I think the Mac looks in /etc/launchd.conf and environment.plist if you are starting an App in the GUI. It probably only reads JAVA_HOME if running a command from terminal. However, this said, your default Java install should be set up correctly so not sure why Light Table is not working. Sorry not much help!
thanks @agile_geek, you remind me about some other thing. I will try that out. Light Table actually worked for me before. But it broken after I did the OS upgrade.
@danielcompton: re comments, theres a slight difference between ;
and ;;
— usually one semicolon is used when theres something else on the line already. Did that in emacs for a while and was super confused why it’s indenting so weird
@martinklepsch: ahh, I think I had the same confusion when I was using emacs, solved it now!
@clojuregeek: your problem is definitely caused by the middleware not loading
as the profile settings look correct it might be that you have something that interferences with the middleware’s loading
do you have any other middlewares in your profile or project.clj
?
btw, there’s also #C0617A8PQ and you can of course always report the problem on our issue tracker
@long.clojure: iirc there is some bug with Java applications started from the gui that doesn't let them access the env variables (intellij suffers from this for sure). Presumably in light table there is some way to set the path manually? I would try that
@cfleming: Please consider https://readthedocs.org/ for documentation. The full text search (elasticsearch) is a huge help
rauh: I’ll check it out, thanks
in Cursive, it seems that when I have a broken file in terms of paredit, I cannot type a closing parenthesis.
what is the solution? @cfleming
borkdude: Currently it’s disabling paredit temporarily (in the bottom status bar) or cutting and pasting a closing paren
ok
that was easy enough :simple_smile:
Hehe
did connecting to a REPL from cursive recently change? I don't see an option in the menu anywhere
borkdude: No, do you want to connect to a remote REPL?
yeah
I'm trying cursive out again, after a while of absence
You want Run->Edit configurations, create a new Clojure->Remote REPL, and then add the details
borkdude: Nice, let me know how it goes, I’m always interested in experience reports
it works :simple_smile: sorry, I forgot how it worked
@borkdude: sometimes I copy & paste a paranthese or whatever, no need to use the mouse then.
@bozhidar: thanks, I will do some more digging in my emacs .. usually when browse packages its like a kid in candy story, i’ll add several things and maybe not try them out right away and forget 😑
most likely the problem is not in the Emacs setup, but it the clojure/java deps/plugins you have
because the warning pretty much says that cider-nrepl
hasn’t been loaded and since it’s in your profile
something else there or in the project itself is the problem
try connecting using a clean project and a basic profile with only cider-nrepl
in it
today I'm using emacs to write clojurescript and cursive for server side clojure: want to experience both :simple_smile:
nice
I often say this - IntelliJ is my favourite IDE
the problem is that I don’t like IDEs that much :simple_smile:
but they definitely have a ton of perks
I ❤️ intellij, but that might just because the alternative is eclipse
(for java)
I see editors and IDEs as tools, I'm not religious about it. Whatever gets the job done.
@cfleming: is there a way to see the files that have function arity errors in the side bar?
borkdude: You mean to have it marked in the project window?
yeah
@cfleming: if we have a cursive issue, would you prefer we mention it here? or on the mailing list?
or on the github issue tracker?
@erichmond: from my experience he is very responsive on the github tracker :simple_smile:
apart from that, other can google and search that, so, it surely is better to have it centralized and one place to go, from my point of view, but, I am not cfleming, so, take it with a grain of salt 😄
yeah, thats what I am thinking too
I just want to do whatever helps his flow the best