O'Reilly logo

Web Development with Clojure by Dmitri Sotnikov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Up Your Environment

Clojure requires the Java Virtual Machine (JVM) to run, and you will need a working Java Development Kit, version 1.6 or higher.[3] Clojure distribution is provided as a JAR that simply needs to be available on your project’s classpath. Clojure applications can be built with the standard Java tools, such as Maven and Ant;[4][5] however, I strongly recommend that you use Leiningen,[6] which is designed specifically for Clojure.

Managing Projects with Leiningen

Leiningen lets you create, build, test, package, and deploy your projects. In other words, it’s your one-stop shop for all your project-management-related needs.

Leiningen is the Clojure counterpart of Maven, a popular tool for managing Java dependencies. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required