Also I should note that all my clojure code is compiled to classes and the classes are jarred and sent to the Java Web Start program along with clojure.jar.
On Jul 4, 3:53 am, Nick Mudge <mud...@gmail.com> wrote: > I am writing a 3rd party module in Clojure for a Java Web Start > application written in Java. > > I am using Clojure 1.1. > > I think that my clojure program and clojure.jar are on the classpath > and are being loaded because when clojure.jar is not seen on the class > path this error results: java.lang.ClassNotFoundException: > clojure.lang.IFn > I am not getting that error so I think that my clojure program and > clojure.jar are seen on the classpath and are being loaded. > > This is the error I am getting: > Could not locate clojure/core__init.class or clojure/core.clj on > classpath > > I think that clojure uses the system classloader by default. Is this > correct? However, according to the Java Web Start documentation, the > system classloader doesn't work with Java Web > Start:http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.... > > The Java Web Start documentation says that the following classloader > should be used: > ClassLoader cl = Thread.getCurrent().getContextClassLoader(); > > My question is, how do I tell clojure to use this classloader so that > clojure can load it's own code? -- 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