Hi,

On 15 Aug., 21:41, sebastien <sebastien....@gmail.com> wrote:

> Unfortunetly it doesn't work, pointing to h.hello() and saying "cannot
> find symbol".
>
> Any suggestions?

First the method is called sayhello. Not just hello. Then you have to
declare the method in the gen-class clause.

(ns semantic.hello
  (:gen-class
    :methods [[sayHello [] void]]))

More on http://clojure.org/compilation and in the docs for gen-class
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/gen-class.

Hope this helps.

Sincerely
Meikel

-- 
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