Note: La Clojure currently has a show-stopping Windows bug – I’ll remove this note when it has been fixed.
If emacs isn’t your thing, or you prefer a modern IDE (read: GUI) for development, I recommend IntelliJ IDEA. An open-source, community edition was just released, and it is definitely worth giving a spin – I’ve been a fan since I first tried it a couple of years ago.
Being at a university where the first language taught is Java, but transferring from an institution where C++ was dominant was a bit of a pain. IntelliJ got me through my Java-based courses. I tried and managed with Eclipse and NetBeans for the first semester – but we were given a significant initial framework.
Enough of my praise for IntelliJ. Let’s get started!
- 2. Install IntelliJ
- 3. Let IntelliJ know where the JDK is (Linux only)
Assuming that a JDK is already installed, run
updatedb; locate jdk | grep jre$
Do something like the following based on those results
echo "export JDK_HOME=\"/usr/lib/jvm/java-6-openjdk/jre\"" >> ~/.bashrc
- 4. Install ‘La Clojure’ Plugin
Run IntelliJ, open the plugin manager, and search for ‘la clojure’. Select it for installation, and click OK.
- 5. Create a Clojure Project
Click ‘Create New Project’, select ‘Create project from scratch’, give it a descriptive name, and select ‘Clojure’ as a desired technology.
- Start a REPL!
Tools -> Clojure REPL Actions -> Add new Clojure REPL
