我找到了以下指南:
http://mark.reid.name/sap/setting-up-clojure.html
但这似乎需要大量手动步骤,我敢打赌它已经过时了。在 Windows 上安装 ClojureBox 轻而易举。有谁知道一个简单的安装程序吗?在哪里可以下载,步骤是什么?
谢谢!
编辑: 尝试安装 cake,得到:
$ sudo gem install cake
Password:
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 302
还尝试使用脚本安装:
$ sudo ./cake_install.rb
http://github.com/ninjudd/cake-standalone/raw/master/jars/cake-0.5.4.jar
[=============================================================================]
http://build.clojure.org/releases/org/clojure/clojure/1.2.0/clojure-1.2.0.jar
[=============================================================================]
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file (ordered_set.clj:1)
编辑 2:现在 Java 版本问题 :) 我需要什么版本的 Java 以及从哪里下载它?
$ sudo cake test
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file (ordered_set.clj:1)
我的 Leopard 软件是最新的 :(
Apple Computer supplies their own version of Java. Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java for your Mac. If you have problems with downloading, installing or using Java on Mac, please contact Apple Computer Technical Support.
编辑:嗯...我怀疑我尝试过的其中一个建议破坏了我在 Apple 上连接到互联网(有线和无线)的能力:(
最佳答案
Clojure 也可以通过 Homebrew 安装:
- http://github.com/mxcl/homebrew
- 酿造安装clojure
关于installation - 是否有适用于 Mac OS (Leopard) 上的 Clojure 的好用且简单的安装程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4007047/