首先通过IDEA安装JRebel,下载JRebel破解版.使用里面带的工具制作一个License,然后在IDEA的插件安装目录(/Users/****/Library/Application Support/IntelliJIdea13)的JRebel安装目录中替换掉JRebel.jar,然后在IDEA里面选择刚才生成的License.这时JRebel已经激活成功,但是还不能使用.
这时我们需要在VM参数里面写
-noverify
-javaagent:E:\jrebel_4.6\jrebel.jar
-Drebel.spring_plugin=true
这时,JRebel已经可以正常使用了