title: Using 3rd party java libraries, like com.jcraft.jsch, with clojure
body: <p>I'm experimenting with <a href="http://www.clojure.org" rel="noreferrer">clojure</a> and am trying to get a feel for using 3rd party libraries.  I've been able to download some source, bundle it into a jar file with leiningen, put it in my classpath and (use 'lib.etc) in my script.  I've also played around with the objects in java.lang.*.  </p>
  
  <p>I haven't had any success with 3rd party java, though.</p>
  
  <pre><code>$ java -cp clojure.jar:clojure-contrib.jar:com.jcraft.jsch_0.1.31.jar clojure.main
  Clojure 1.1.0
  user=&gt; (require 'com.jcraft.jsch)
  java.io.FileNotFoundException: Could not locate com/jcraft/jsch__init.class or com/jcraft/jsch.clj on classpath:  (NO_SOURCE_FILE:0)
  
  $ jar tf com.jcraft.jsch_0.1.31.jar | egrep "(init|clj)"
  $
  </code></pre>
  
  <p>It looks like an __init.class or .clj file must be created.  Is this true, or is there some alternative way that pure java classes are supposed to be loaded?</p>