When using nrepl-jack-in

I get the error below whenever I try to use Mx nrepl-jack-in -

error in process sentinel: Could not start nREPL server: /usr/bin/lein: line 260: java: command not found

I can start the replacement without any problems with lein repl or lein2 repl - both work.

Thank you Murtaza

+5
source share
2 answers

I had the same problem. Let me guess, are you starting Emacs from the app launcher? Applications launched this way do not seem to use your .bashrc file. If you create your PATH in the ~ / .profile file, it should work. You will need to go out and go in for it to take effect.

+2
source

emacs . Java , lein? M-x java -help, ? "M-x shell-command java -help"

+1

All Articles