Title photo
Think globally, microblog locally
Tue, 29 May 2018

This happened to me: clojure - Leiningen tries to call java.exe from a wrong/missing JDK - Stack Overflow https://stackoverflow.com/questions/22191986/leiningen-tries-to-call-java-exe-from-a-wrong-missing-jdk#22222935

This line had my solution:

  • Does your leiningen user profile ~/.lein/profiles.clj have a :java-cmd setting ?

Yes, mine did. I vaguely remember doing that when trying to configure Emacs in "Clojure for the Brave and True."

Getting a working development environment and wrapping one's head around how Clojure programs are constructed and distributed is quite a barrier. It's not like I've gotten over it.