Sure. You need a jar for Clojure and a jar for clj-http and then just run Java with those in a classpath:
java -cp clojure.jar:clj-http.jar my-program There is a lighter weight tool that we've added in Clojure 1.9 (also works with 1.8) that can help in assembling classpaths and serving as a runner. All it's really doing is taking a statement of deps and building the classpath to make that call. If you're interested in that, this will be useful: https://clojure.org/guides/deps_and_cli On Tuesday, November 28, 2017 at 4:20:43 PM UTC-6, Kashyap CK wrote: > > Hi, > I am trying to use clj-http in my clojure program. I am trying to do the > whole thing in a "light-weight" manner - without creating a project and all > or using lein. Is that possible? or do I need to use Lein? > Regards, > Kashyap > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.