我找到了以下指南:
http://mark.reid.name/sap/setting-up-clojure.html
但它似乎有很多手动步骤,我敢打赌它已经过时了。在 Windows 上安装 ClojureBox 轻而易举。有谁知道它的简单安装程序?我在哪里可以下载它,步骤是什么?
谢谢!
编辑:尝试安装蛋糕,得到:
$ 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 上连接到互联网(有线和无线)的能力:(