I feel like a lot of people have trouble with this (I certainly do!)
so I made this tutorial with working examples to follow.

it's at:

http://www.rlmcintyre.com/iassac-gouy.tar.bz2
or
http://www.bortreb.com/iassac-gouy.tar.bz2

just unpack it into your home directory , read the
README, and play around.

It shows how to compile stuff from the command line and the REPL
and how to make shell-scripts.

happy coding,
--Robert McIntyre

On Sun, Aug 22, 2010 at 2:39 PM, Isaac Gouy <igo...@yahoo.com> wrote:
> $ /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 clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to