title: How can I embed Clojure in an RCP application
body: <p>I am currently using javascript to add scripting to an Eclipse RCP application, but I would prefer to be able to use Clojure. However, I have run into classpath difficulties because while Eclipse can find the Clojure classes, Clojure itself can't.</p>
  
  <p>The plugin activator's start method:</p>
  
  <pre><code>public void start(BundleContext context) throws Exception {
      super.start(context);
      plugin = this ;
      Class.forName("clojure.lang.RT") ;
      JSController.startup() ;
  }
  </code></pre>
  
  <p>doesn't raise a <em>class not found</em> exception for <strong>clojure.lang.RT</strong>, but for <strong>clojure/core__init</strong> which is in the same place.</p>
  
  <pre><code>java.io.FileNotFoundException: Could not locate clojure/core__init.class or clojure/core.clj on classpath:
          at clojure.lang.RT.load(RT.java:402)
          at clojure.lang.RT.load(RT.java:371)
          at clojure.lang.RT.doInit(RT.java:406)
          at clojure.lang.RT.&lt;clinit&gt;(RT.java:292)
  </code></pre>
  
  <p>The RCP application is based on Eclipse version 3.1</p>
  
  <p>Does anyone know how to fix this?</p>