This works:
$ clj -J-Dclojure.server.repl="{:accept clojure.core.server/repl :port 11211}"
This doesn’t:
No socket server is started. What am I doing wrong?
clojure 1.10.1.536
This is a duplicate of several other tickets - TDEPS-56, TDEPS-48, and then there are some windows-specific variants. The issue is related to bash quoting and is quite tricky to solve well, particularly in a portable way.
As a workaround, you can replace spaces in your option with ,'s, as Clojure treats these as whitespace.