Fork me on GitHub
#cider
<
2022-08-03
>
Carlo10:08:33

What's the suggested way of asking cider to jack-in with Java 17 instead of Java 11?

Martynas Maciulevičius10:08:46

Having java 17 in your path. So PATH=...:path/to/java_17_executable emacs Or you could set it system-wide But probably you could edit this env var from emacs (somehow) and then set it before you run your jack in But well... these options are not great. Probably I miss something.

jkxyz10:08:13

I use direnv and emacs-direnv to set JAVA_HOME or PATH. You can also launch the REPL in your shell, or a Docker container or whatever, and use cider-connect

1
jumar10:08:00

it's best to use a "manager" for this like jenv or sdkman.

jkxyz10:08:54

Indeed it's probably best to use a version manager in your shell and then use cider-connect instead of cider-jack-in

1
bozhidar10:08:18

Ha, just noticed we've got exactly 1,888 people in the channel. Must be a good omen, right? cider

👍 1
Michaël Salihi16:08:19

Not a cider but it may be an opportunity to toast ! 😁

cider 1
😍 1
clojure-spin 2