Yes, it helped! Thank you! To make the story complete I put here complete code:
semantic/hello.clj: (ns semantic.hello (:gen-class :name semantic.hello :methods [[sayhello [] void] [sayhello_arg [String] void]])) (defn -sayhello [this] (println "Hello from Clojure!")) (defn -sayhello_arg [this arg] (println (str "Hello " arg "!"))) project.clj: (defproject google-groups-option "1.0.0-SNAPSHOT" :description "FIXME: write" :dependencies [[org.clojure/clojure "1.2.0-beta1"] [org.clojure/clojure-contrib "1.2.0-beta1"]] :namespaces [semantic.hello]) Test.java: import semantic.hello; class Test { public static void main(String[] args) { semantic.hello h = new semantic.hello(); h.sayhello(); h.sayhello_arg("Fred"); } } Though my eclipse still shows errors while editing, it CAN compile and run this code without problems. -- 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