Hotswap for Java using DCEVM+Hotswap Agent

Here is an opensource setup that does the job as JRebel which offcourse is not free.

Download HotswapAgent latest release from this url

https://github.com/HotswapProjects/HotswapAgent/releases

Download DCEVM jar from the following url

https://github.com/dcevm/dcevm/releases

Install DCEVM as an administrator

java -jar DCEVM-light-8u112-installer.jar

dcevm

Create a new run configuration in intelliJ with following VM option
-XXaltjvm=dcevm -javaagent:C:\Dev\sw\HotswapAgent-0.3\hotswap-agent.jar -Xms1G -Xmx5G

Now you can modify the Java code on the fly and don’t need to restart the whole application. Just don’t forget to compile the file that you modified.

For more information

https://groups.google.com/forum/#!topic/hotswapagent/BxAK_Clniss

About: Muhammad Ali

I am a Java and Tibco expert. I have Master's degree in software engineering of distributed systems from Royal Institute of technology KTH Stockholm Sweden and I am an expert software engineer and integrator with over a decade of industry experience from Europe, Gulf and Asia regions. I am a strong opensource believer and encourage "sharing as caring" principle.