Hi,

On Mon, Feb 22, 2010 at 05:20:07PM +0100, Lukas Lehner wrote:

> add-classpath is marked as depreciated and does not work :(
> 
> (add-classpath "file:///jars/icu4j-4_2_1.jar")
> 
> Context classloader is not a DynamicClassLoader
>   [Thrown class java.lang.IllegalAccessError]
> 
> I don't want to restart jvm anytime I need a new jar.
> Any workaround or replacement?

Add a directory to your classpath: java -cp clojure.jar:some/dir
clojure.main -r. Then unzip any new jars into some/dir. There you go.

Usual disclaimers apply: Set up your classpath beforehand.

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to