IDEA14+JREBEL+TOMCAT成功

1. idea安装和jrebel破解:

JRebel是一款JAVA虚拟机插件,它使得JAVA程序员能在不进行重部署的情况下,即时看到代码的改变对一个应用程序带来的影响。JRebel使你能即时分别看到代码、类和资源的变化,你可以一个个地上传而不是一次性全部部署。
Intellij JRebel安装、破解
1.下载文章底部的附件,包含官方插件zip文件以及破解需要的zip文件。
2.打开Intellij,进入Intellij IDEA - Preferences  -  Plugins  -  Install plugin from disk   选择下载的 jr-ide-idea-6.0.2-idea-13-14.zip 安装官方的jrebel插件。
3.完成jrebel的注册,获得14天的试用期。
4.替换本机的 Users/<你的用户名>/.jrebel/jrebel.lic 为下载附件中的jrebel.lic;替换
C:\Users\ian.wang\.IntelliJIdea14\config\plugins\jr-ide-idea\lib\jrebel\jrebel.jar
C:\Users\ian.wang\.IntelliJIdea14\config\plugins\jr-ide-idea\lib\jrebel6\jrebel.jar
C:\Users\ian.wang\.IntelliJIdea14\config\plugins\jr-ide-idea\lib\jrebel\lib\jrebel.jar

为下载附件中的jrebel.jar
5.重启Intellij

Note1:如果启动时报 “ java.lang.OutOfMemoryError: PermGen space ” ,需设置VM options,我的设置“ -mx2048m -XX:MaxPermSize=2048m”
Note 2:JReble无需配置就可以实现热重启,前提是需要将Tomcat的配置“On frame deactivation”从"Do nothing"改成"Update classes and resources"。

Intellij14注册机:
注册机:http://download.csdn.net/detail/ablipan/8417775
JRebel官方插件下载地址:
http://download.csdn.net/detail/ablipan/8397321
JRebel破解需要文件:
http://download.csdn.net/detail/ablipan/8397287



2. tomcat基础配置:
IDEA14+JREBEL+TOMCAT成功_第1张图片


3. tomcat VM参数:

-Xms2048m
-Xmx2048m
-XX:MaxPermSize=4096m
-noverify
-javaagent:D:\1-jrebel\jrebel6\jrebel.jar
-Drebel.spring_plugin=true
-Xbootclasspath/p:F:/1-sgh/3-dev-soft/apache-tomcat-7.0.57/temp/rebelboot.jar

你可能感兴趣的:(IDEA14+JREBEL+TOMCAT成功)