cider

Dennis Trill 2025-07-16T00:37:32.482879Z

Hello. 'cider-jack-in' returns the following error: "...error in process sentinel: Could not start nREPL server: ' "java" ' is not recognized as an internal or external command, operable program or batch file..." I am using windows 11, emacs 30.1, doom 3.0.0, java 24.0.1 and jdk 24. Thank you for your help.

bozhidar 2025-07-16T05:26:53.275379Z

Seems that Java is not on Emacs’s exec-path, that’s why it fails to start.

bozhidar 2025-07-16T05:27:53.739309Z

You can do C-h v exec-path for more details.

Dennis Trill 2025-08-04T16:47:23.386379Z

This thread is closed. I uninstalled then reinstalled Emacs, Java, Clojure and Leiningen. Now things are working well. I still have a lot to learn about Emacs etc. 🙂

👍 1
Dennis Trill 2025-07-16T20:35:23.665429Z

I added (add-to-list 'exec-path "c:\\Users\\Program Files\\Java\\jdk-24\\bin") to the '.doom.d/config.el' file, but now emacs gives me an error on start up!

Dennis Trill 2025-07-16T22:11:40.594849Z

I have resolved the above issue (my bad) . The 'exec-path' for Java is now correct. However 'cider-jack-in' now gives the following error message "...error in process sentinel: Could not start nREPL server: ' "Java" ' is not recognized as an internal or external command, operable program or batch file..."?

Dennis Trill 2025-07-16T22:31:36.347689Z

I believe Emacs is finding Java because in the Emacs shell buffer when I enter 'java --version' it returns 'java 24.0.1 2025-04-15...'