$ /usr/local/src/jdk1.6.0_18/bin/java -cp .:clojure.jar clojure.main
Clojure 1.2.0
user=> (compile 'clojure.examples.hello)
java.io.IOException: No such file or directory (hello.clj:1)
$ ls clojure/examples
hello.clj
$ cat clojure/examples/hello.clj
(ns clojure.examples.hello
(:gen-class))
(defn -main
[greetee]
(println (str "Hello " greetee "!")))
1) What do I need to do to have the REPL find hello.clj ?
2) How can I AOT compile Clojure files without using the REPL?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en