This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-03
Channels
- # aleph (6)
- # announcements (4)
- # babashka (73)
- # beginners (117)
- # calva (25)
- # chlorine-clover (59)
- # cider (21)
- # clara (3)
- # cljdoc (8)
- # cljs-dev (54)
- # cljsrn (15)
- # clojure (65)
- # clojure-france (5)
- # clojure-spec (3)
- # clojure-uk (13)
- # clojurescript (79)
- # conf-proposals (1)
- # conjure (17)
- # core-logic (11)
- # datomic (21)
- # fulcro (82)
- # graalvm (11)
- # helix (7)
- # jobs-discuss (11)
- # joker (2)
- # juxt (3)
- # local-first-clojure (1)
- # luminus (5)
- # nrepl (61)
- # off-topic (12)
- # pathom (70)
- # re-frame (3)
- # reitit (3)
- # rum (1)
- # shadow-cljs (58)
- # sql (1)
- # tools-deps (26)
- # xtdb (3)
Is there any command in cider to forcefully stop an eval that takes too long (or an infinite loop)?
Just found it. Thanks. It's bound to C-c C-b in Doom Emacs
does anyone know how to get specify to cider which JVM to use? Everything on my system is using java 11 except for cider which is using java 13. Don't know how to tell it not to do that.
CIDER is just gonna call clj ...
or lein ...
so its really finding out which java is visible to emacs
so it says its using "/usr/bin/java' but I checked "/usr/bin/java" and its version is 11 in the terminal
I used (shell-command-to-string "java -version") and it says 11
cider-jack-in says its using java 13 tho
I noticed this while working in a project, but this happens even without a project.
it was a clj deps project tho
Nope. lein repl
without a project is Java 11
ok. i wonder if its this from clojure
:
# Find java executable
set +e
JAVA_CMD=$(type -p java)
set -e
if [[ ! -n "$JAVA_CMD" ]]; then
if [[ -n "$JAVA_HOME" ]] && [[ -x "$JAVA_HOME/bin/java" ]]; then
JAVA_CMD="$JAVA_HOME/bin/java"
else
>&2 echo "Couldn't find 'java'. Please set JAVA_HOME."
exit 1
fi
fi