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 (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)
- # crux (3)
- # 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)
myguidingstar16:05:23
Is there any command in cider to forcefully stop an eval that takes too long (or an infinite loop)?
ghosttoaster18:05:39
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.
dpsutton18:05:57
CIDER is just gonna call clj ...
or lein ...
so its really finding out which java is visible to emacs
ghosttoaster18:05:33
so it says its using "/usr/bin/java' but I checked "/usr/bin/java" and its version is 11 in the terminal
ghosttoaster18:05:44
I noticed this while working in a project, but this happens even without a project.
dpsutton18:05:19
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