Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error while using nrepl-jack-in

Tags:

clojure

I am getting the below error whenever I try M-x nrepl-jack-in -

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

I am able to start the repl without any issues by lein repl or lein2 repl - both work.

Thanks, Murtaza

like image 953
murtaza52 Avatar asked Oct 21 '22 17:10

murtaza52


1 Answers

I had the same problem. Let me guess, you are launching Emacs from the application launcher? Applications launched this way apparently do not use your .bashrc file. If you do your PATH set up in your ~/.profile file instead it should work. You'll need to log out and in for it to take effect though.

like image 54
drt Avatar answered Oct 25 '22 18:10

drt