java -cp clojure-1.5.1.jar clojure.main
user=> (+ 1 2 3) 6 user=> (javax.swing.JOptionPane/showMessageDialog nil "Hello World")
You need to enable Javascript in your browser to edit pages.
help on how to format text
Table of Contents
Quick Start
Minimal Install
Clojure requires only Java 1.5 or greater, plus the Clojure JAR file itself.
Download and unzip Clojure. In the directory in which you expanded clojure.zip, run:
This will bring up a simple read-eval-print loop (REPL). From the REPL, try:
Batteries Included
The vast majority of Clojure developers use Leiningen to create and manage Clojure projects.
Try Clojure Online
Community Resources
Community volunteers maintain Getting Started documentation for a number of different tools and approaches.