Hi
There are some links on google for "java add classpath runtime"
Particularly
http://jimlife.wordpress.com/2007/12/19/java-adding-new-classpath-at-runtime/
and http://forums.sun.com/thread.jspa?threadID=300557
but haven't tried (not so skilled in java) and don't know how to turn
them into clojure :(
I am using one JVM for more running projects and debugging and
developing them as they run.
Having more JVMs is just a waste of memory.
L
On 2/22/2010 6:11 PM, David Nolen wrote:
On Mon, Feb 22, 2010 at 11:20 AM, Lukas Lehner <[email protected]
<mailto:[email protected]>> wrote:
I don't want to restart jvm anytime I need a new jar.
Any workaround or replacement?
This is one of the real downsides of the JVM. But it does beg the
question, why do you need to add jars constantly to your REPL?
add-classpath was never intended for anything beyond playing around at
the REPL. That is, it was never intended as a real way to load jars.
It's also not consistently supported in the same way on different JVMs.
If there's one downer you have to accept with Clojure, it's managing
your classpath. Fortunately tools like Leiningen exist which
essentially make this a non-issue.
Thanks
Lukas
David
--
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
--
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