[email protected]:~/clojure$ clojure
Clojure 1.0.0-
user=> (require 'clojure.contrib.str-utils)
java.io.FileNotFoundException: Could not locate clojure/contrib/str_utils__init.class or clojure/contrib/str_utils.clj on classpath: (NO_SOURCE_FILE:0)
user=>
我在安裝clojure時做了什麼錯誤?爲什麼不能clojure找到我的java類?我安裝了java。幫助運行clojure,可能的類路徑問題
[email protected]:~/clojure$ sudo apt-get install sun-java6-jre sun-java6-jdk
sudo: unable to resolve host apollo
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-jre is already the newest version.
sun-java6-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
[email protected]:~/clojure$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
[email protected]:~/clojure$
請大家幫忙!謝謝!
你從哪裏'得到'Clojure,你是如何「安裝」它的? – Rayne 2010-09-16 18:27:15