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.
The plugin activator's start method:
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this ;
Class.forName("clojure.lang.RT") ;
JSController.startup() ;
}
doesn't raise a class not found exception for clojure.lang.RT, but for clojure/core__init which is in the same place.
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.<clinit>(RT.java:292)
The RCP application is based on Eclipse version 3.1
Does anyone know how to fix this?