Browse Clojure Foundations for Java Developers

Troubleshooting Common Setup Issues

Fix the usual suspects: JDK mismatches, classpath confusion, dependency resolution, and REPL connectivity.

Most Clojure setup problems are not “Clojure problems”. They are JVM and classpath problems: an unexpected JDK, a dependency resolution failure, or an editor that is connected to the wrong REPL process.

The common failure modes

  • Wrong Java version (terminal vs IDE mismatch).
  • Dependencies not downloading (proxy/cert/network issues).
  • REPL starts, but the editor cannot connect (wrong port / wrong project / wrong command).
  • Code loads, but resources are missing (classpath and resources/ issues).

Debugging strategy: reduce it to the smallest reproducible command from the terminal, then add complexity back one step at a time.

This section gives you a checklist so you can get back to learning instead of fighting your environment.

In this section

Revised on Friday, April 24, 2026