Share your thoughts in the 2024 State of Clojure Survey!

Welcome! Please see the About page for a little more info on how this works.

0 votes
in REPL by
closed by

Hi,
REPL seems not to work.
I've installed Clojure on Mac (Mojave 10.14.6) using
brew install clojure/tools/clojure

I have
java version "1.8.0_122-ea"
Java(TM) SE Runtime Environment (build 1.8.0_122-ea-b04)
Java HotSpot(TM) 64-Bit Server VM (build 25.122-b04, mixed mode)

and JAVA_HOME is set correctly.

in a terminal I type
clj
and all I see is a newline and then nothing happens. No details, no input prompt.

if I enter clj -Sdescribe I get
{:version "1.10.1.727"
:config-files ["/usr/local/Cellar/clojure/1.10.1.727/deps.edn" "/Users/mikehoughton/.clojure/deps.edn" ]
:config-user "/Users/mikehoughton/.clojure/deps.edn"
:config-project "deps.edn"
:install-dir "/usr/local/Cellar/clojure/1.10.1.727"
:config-dir "/Users/mikehoughton/.clojure"
:cache-dir "/Users/mikehoughton/.clojure/.cpcache"
:force false
:repro false
:main-aliases ""
:repl-aliases ""}

Thanks

Mike

closed with the note: resolved

1 Answer

0 votes
by
selected by
 
Best answer

I'm not sure why you would see this - have never seen an issue like this in the past. If you are still having this issue, try Ctrl-\ to get a stack dump and attach the result here.

by
I finally fixed it :) My maven settings had an old repo URL that I no longer had authorisation to use. Deleting the settings and recreating them cured it. Thanks.
by
I marked this as Answered/Solved since you figured out what the issue was.
...