JReloader 是一个用来重新加载class文件而无需重启JVM的工具。
授权协议: LGPL 开发语言: Java 操作系统: 跨平台
http://code.google.com/p/jreloader/
Download and explode the zip file somewhere in your filesystem.
You need only to add a couple of vm arguments, as in the example below:
java -noverify -javaagent:c:\jreloader-0.2\jreloader.jar -Djreloader.dirs=c:\project\target\classes com.foo.Main
or, if you have a jar file:
java -noverify -javaagent:c:\jreloader-0.2\jreloader.jar -Djreloader.dirs=c:\project\target\classes -jar foo.jar
If you have multiple modules, you can add more than one class dir:
-Djreloader.dirs=c:\project\target\classes,c:\project2\target\classes,c:\project2\target\classes