安装 Java (在线包): http://www.java.com/en/download/chrome.jsp?locale=en
Java (离线包): http://www.java.com/en/download/windows_offline.jsp
上 Clojure 官网下载解释器: http://clojure.org/
直接下载地址: http://central.maven.org/maven2/org/clojure/clojure/1.6.0/clojure-1.6.0.zip
下载好了之后找个地方解压, 然后在该目录新建一个 clj.bat 文件, 内容:
@echo off java -cp "当前解压目录/clojure-1.6.0.jar" clojure.main %1
请使用绝对路径, 然后将该路径加入系统 PATH (【我的电脑】右键属性->【高级系统设置】->【环境变量】->选择PATH->【编辑】->在最后加上该路径). 如果你的 sublime 是开着的, 记得重启以便 PATH 生效.
好了之后, 打开找到 sublime 的 【Tools】->【Build System】->【New Build System】然后输入:
{
"shell_cmd": "clj $file"
}
