IDEA 热启动
1、在IDEA 打开Edit Configurations 如下图
2、在左边选中你的项目 ,然后会看到右边有个VM Option 写入:
-noverify -javaagent:D:\tools\jrebel-5.6.1-*****\jrebel.jar -Drebel.disable_update=true -DJAVA_OPTS=-Xms1024m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m
然后On Update action 和 On frame deacctivation: 都选择update classes and resources
如下图:
3、下载jrebel-5.6.1-*****.rar
链接: http://pan.baidu.com/s/1eR2qThS 密码: jn33
然后放在D:\tools\
进行解压 你可以换路径,如果换记得参数里面的路径也要换
如图:
然后就可以了