Clojure Coding Quick Start

Clojure is built and distributed in a Java archive (a jar file) that can be run on the Java Virtual Machine (JVM). Running programs on the Java Virtual Machine requires assembling a classpath that contains all of the code required to run your program, which includes Clojure itself, your code, and any Java or Clojure dependencies needed by your code.

To run Clojure and the code in this book, you need two things:

  • A Java runtime. Download[8] and install Java version 6 or higher (however, using at least version 8 is recommended for improved performance).

  • Clojure command line tools. The Clojure “Getting Started” page[9] contains the latest instructions on installing the Clojure command line tools. These tools have ...

Get Programming Clojure, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.