On Sun, Jun 28, 2009 at 01:25:15PM -0700, hoeck wrote:
[...]
> Tried it, and had the same results. Somehow defining a class object as
> a root value triggers some mechanism to load it with the root
> classloader instead of the clojure one.
> However, putting /home/me on the classpath using -cp wor
Hi Daniel,
add-classpath should only be used to add a clojure library on the fly
within a repl session. If you encounter any problems with your code
using add-classpath, you should use the normal way of adding it to
jvm's startup classpath instead. (The reason is that add-classpath
works only for
Hello all,
I have some trouble understanding the following setting: Given a Java
class JavaStuff.java in /home/me the following occurs on my system:
Clojure 1.0.0-
user=> (add-classpath "file:///home/me/")
nil
user=> (. Class (forName "JavaStuff"))
JavaStuff
user=> (def JavaStuff-cla