This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-25
Channels
- # aleph (18)
- # announcements (7)
- # asami (18)
- # babashka (15)
- # babashka-sci-dev (79)
- # beginners (61)
- # calva (4)
- # clj-kondo (23)
- # cljfx (16)
- # cljs-dev (6)
- # clojure (63)
- # clojure-bay-area (3)
- # clojure-europe (33)
- # clojure-nl (1)
- # clojure-survey (4)
- # clojure-uk (5)
- # clojurescript (37)
- # conjure (1)
- # cursive (8)
- # datahike (7)
- # datalevin (1)
- # datomic (30)
- # emacs (10)
- # events (2)
- # figwheel (2)
- # fulcro (20)
- # google-cloud (1)
- # lsp (6)
- # luminus (4)
- # malli (5)
- # music (3)
- # nextjournal (1)
- # off-topic (9)
- # other-languages (3)
- # pathom (16)
- # polylith (34)
- # re-frame (14)
- # reagent (19)
- # releases (6)
- # sci (2)
- # shadow-cljs (33)
I'm getting
com.intellij.execution.ExecutionException: Cannot execute: Command failed when executing /usr/local/bin/clojure
whereas in the terminal it gives me:
$ /usr/local/bin/clojure
Clojure 1.10.3
user=>
Anyone else experiencing this?There was an error similar to this a while ago, which I thought I had fixed: https://github.com/cursive-ide/cursive/issues/2561. Do you have a JDK configured in your project?
No, I didn't have a JDK configured. After I added one, it worked
Thanks for replying though 🙂
(I'm on a new/fresh install using jetbrains sync, don't know it that matters.)
Right, so I found out that the error message was:
Couldn't find 'java'. Please set JAVA_HOME.
For those curious: I installed java using sdkman