Organizational Research By

Surprising Reserch Topic

how do you change the classpath within java


how do you change the classpath within java  using -'java,classpath'

How do you change the CLASSPATH of a Java process from within the Java process?



Before you ask me "Why would you want to do that?" I'll explain it shortly.


  When you have a Clojure REPL running it is common to need more jars in your CLASSPATH to load a Clojure source file, and I'd like to do it without having to restart Clojure itself (which is not really an option when using it on Slime on Emacs).


That's the reason but I don't want this question tagged as some-weird-language some-weird-editor and be disregarded by the majority of Java developers that may have the answer.
    
asked Oct 19, 2015 by sumit_jaiswalmca
0 votes
2 views



Related Hot Questions



Government Jobs Opening


...