Skip to content
marcpeabody edited this page Oct 21, 2011 · 8 revisions

Running tryclojure is as easy as hitting your head on a low-hanging pipe. As of right now, its build file is compatible with both cake and leiningen, but I use cake and the official tryclojure build tool is cake. Compatibility may not last forever.

When you first start up tryclojure, you're probably going to get a bunch of security errors because of the sandbox. You need to have a ~/.java.policy file to grant rights to your own code. Just copy the example.policy file to ~/.java.policy before running tryclojure and you should be fine.

The general workflow for running tryclojure is as follows (replace cake with lein if you're using leiningen):

cake deps
cake repl
user=> (use 'tryclojure.core)
nil
user=> (tryclj)

That should run tryclojure on port 8801.

Clone this wiki locally