Hi

For that I need to run JVM again...
Imagine I am using one VM instance for more in parallel running programs and updating them as they are running.

When I shutdown VM, I have to start and set up all of them again. (I cannot get the desired state of environment so quickly)


L

On 2/22/2010 9:02 PM, Meikel Brandmeyer wrote:
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