I've posted this question on StackOverflow: http://stackoverflow.com/questions/5452665/how-to-call-clojure-code-from-java
It's still not working. I thought a crowd focused on Clojure may be able to help me out. Here's what I've done so far. I have used the example code from this answer: http://stackoverflow.com/questions/2181774/calling-clojure-from-java I created a clojure Project called tiny. I created the file 'tiny.clj' in the package 'com'. I have created two exports as .jar. Once, I have only exported 'tiny.clj' and once I exported the entire project. I create a new Java Project called Main. In the default package I created a file 'Main.java' that uses 'import com.tiny'. I alternate importing the two .jar files. I try importing just the single-.clj .jar as well as the project .jar. There is no difference. Eclipse reports, "Imports cannot be resolved." To import, I right- click on the Java Project and go to 'Build Path -> Import External Archives'. I also import clojure.jar and try rearranging the dependency order; sometimes I place the Main.java file on top, sometimes clojure.jar, etc. It's still not working! I followed everything to the letter seemingly. Is there anything I could be missing? -- 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