1.idea14中File中的settings
2.選擇“plugins”選項下的“Install plugin from disk”,如下圖所示
3.選擇下載的 jr-ide-idea-6.0.2-idea-13-14.zip jrebel插件。
4.用下載的破解版下中替換本機的文件:
jrebel.lic替換/Users/<你的用戶名>/.jrebel/jrebel.lic
jrebel.jar:替換/IntelliJIdea14/jr-ide-idea/lib/jrebel/lib/jrebel.jar和IntelliJIdea14/jr-ide-idea/lib/jrebel6/jrebel.jar
5.重啓Intelij,一般可能需要修改內存大小:
Note 1:由於我是註冊了jrebel打算先體驗14天再進行破解的,所以沒有驗證不註冊時 “/Users/<你的用戶名>/.jrebel/jrebel.lic” 文件是否存在。是否需要第3步待驗證。
Note 2:如果啓動時報 “ java.lang.OutOfMemoryError: PermGen space ” ,需設置VM options,我的設置“ -mx2048m -XX:MaxPermSize=2048m”
Note 3:JReble無需配置就可以實現熱重啓,前提是需要將Tomcat的配置“On frame deactivation”從"Do nothing"改成"Update classes and resources"。