JRebel是一款JAVA虚拟机插件,它使得JAVA程序员能在不进行重部署的情况下,即时看到代码的改变对一个应用程序带来的影响。
这样再也不用修改java文件之后频繁的去重启Web Server了,用起来非常的顺手。本版本jrebel5,已破解,放心使用。在官网下载试用的期限为30天,地址:http://zeroturnaround.com/software/jrebel/download/#!/
将下载的jrebel.jar放到随便一个路径,例如E:\jrebel.jar
Myeclipse中window-preferences-Myeclipse-servers-tomcat-tomcat 6.x-jdk-Optional java vm arguments这个框里面输入java vm的参数
-noverify
-javaagent:E:\jrebel.jar
-Drebel.dirs=E:\Workspaces\jghq\WebRoot\WEB-INF\classes
-Drebel.spring_plugin=true
-Drebel.struts2-plugin=true
说明:
-javaagent就是你存放JRebel的路径
-Drebel.dirs 指定要监控的 编译后的java 文件目录,这个目录和上边javarebel.jar的路径千万不要有空格和中文,最好连.也不要有。
-Drebel.spring_plugin 表示对Spring的支持,默认是false
-Drebel.struts2-plugin=true,这里是-而不是_,千万不要自作聪明
配置完上面后,还需要关闭tomcat的应用程序的reloadable设置
接下来,可以启动Tomcat服务了,如果配置正确,启动服务后,会有以下提示
[2013-03-05 18:07:03]
[2013-03-05 18:07:03] #############################################################
[2013-03-05 18:07:03]
[2013-03-05 18:07:03] JRebel 5.0.0 (201206080930)
[2013-03-05 18:07:03] (c) Copyright ZeroTurnaround OU, Estonia, Tartu.
[2013-03-05 18:07:03]
[2013-03-05 18:07:03] Over the last 1 days JRebel prevented
[2013-03-05 18:07:03] at least 0 redeploys/restarts saving you about 0 hours.
[2013-03-05 18:07:03]
[2013-03-05 18:07:03] This product is licensed to Unlimited
[2013-03-05 18:07:03] For FUN! Unlimited! Enjoy!
[2013-03-05 18:07:03]
[2013-03-05 18:07:03] The following plugins are disabled at the moment:
[2013-03-05 18:07:03] * Apache MyFaces plugin (set -Drebel.myfaces_plugin=true to enable)
[2013-03-05 18:07:03] * Click plugin (set -Drebel.click_plugin=true to enable)
[2013-03-05 18:07:03] * JRuby Plugin (set -Drebel.jruby_plugin=true to enable)
[2013-03-05 18:07:03] * Jersey plugin (set -Drebel.jersey_plugin=true to enable)
[2013-03-05 18:07:03] * Oracle ADF Core plugin (set -Drebel.adf_core_plugin=true to enable)
[2013-03-05 18:07:03] * Oracle ADF Faces plugin (set -Drebel.adf_faces_plugin=true to enable)
[2013-03-05 18:07:03] * Seam-Wicket plugin (set -Drebel.seam_wicket_plugin=true to enable)
[2013-03-05 18:07:03] * WebObjects plugin (set -Drebel.webobjects_plugin=true to enable)
[2013-03-05 18:07:03]
[2013-03-05 18:07:03] #############################################################
[2013-03-05 18:07:03]
[2013-03-05 18:07:03]
[2013-03-05 18:07:03] JRebel: Directory 'E:\Workspaces\jghq\WebRoot\WEB-INF\classes' will be monitored for class changes.
[2013-03-05 18:07:03]
如果出上以上提示,则表示JavaRebel已经配置成功。
接下来大家可以在MyEclipse中修改代码,进行编译进行测试。
如果MyEclipse提示, 则直接关接不理它即可,你发现你修改后的 class文件已经被jvm加载了。
分享到:
相关推荐
myeclipse、eclipse安装jrebel,包括jrebel7.0.2离线安装包和替换文件,update-site文件夹是离线安装包,jrebel文件夹里有两个jrebel.jar文件,分别替换安装目录jrebel和legacy文件夹里的jrebel.jar文件。
开发工具相互交流,现在较好的工具推荐用IDEA ,对应eclipse老粉不愿意转工具的可以拿去试试,提高工作效率还是有帮助
myeclipse 插件热部署 jrebel6.5 亲测可用,资源下载到磁盘,然后打开myeclipse 路径为:Windows ---> Perferences --> MyEclipse -->Servers -->Tomcat --> Tomcat 7.x -->JDK 配置jvm参数: -...
NULL 博文链接:https://fuliguo.iteye.com/blog/1967932
解决java spring热部署的问题,亲测能用,不能用那是人品啊
-noverify -javaagent:D:\myeclipse\jar\jrebel6.5.0\jrebel.jar -Drebel.dirs=${project_loc}\WEB-INF\classes -Drebel.spring_plugin=true -Drebel.struts2-plugin=true -Drebel.hibernate_plugin=true -Xms256M -...
Myeclipse2013安装jrebel6.5及破解方法,内附详细的安装说明以及自测过程中总结的注意事项。按照步骤操作即可,亲测可用。
Myeclipse、eclipse JRebel插件的安装、破解、配置、使用教程,含详细说明文档,图文讲解
最全最详细的JRebel的安装、破解、使用教程, 资源中包括三个文件: update-site.zip(JRebel6.4.3离线安装包) jrebelCracked.rar(JRebel6.4.3破解包) Myeclipse2015+JRebel插件的安装、配置、使用教程.docx
b) 选择一个WEB服务器,开启JRebel支持(本人直接使用MyEclipse2015内置的WEB服务器,也可以选择其它的服务器) c) 设置JRebel Agent d) 项目中添加(或删除)JRebel支持 i. 添加JRebel:选择项目,鼠标右键,再选择...
JRebel支持Eclipse、MyEclipse、IntelliJ、NetBeans等众多IDE,我们以Eclipse为例,在Eclipse中想要使用JRebel,我们需要安装一个插件,可以在Eclipse Marketplace中搜索安装,也可以使用install new software通过...
JRebel6.5.0热部署破解
JRebel6.5.0离线安装文件、破解文件、使用说明文件
Myeclipse安装jrebel6.5及破解方法,内附说明步骤,Myeclipse10亲测破解成功,eclipse应该也能用
亲自测试能成功破解 破解很简单将相应的文件替换即可
jrebel2019.1.4 版本.我是myeclipse 2014.自己使用成功.自己写的文档.eclipse应该也是一样.
eclipse jrebel 热部署插件 具体安装有说明 亲测好用 好用的给个好评谢谢!!
jrebel6.43完美破解到2088年,eclipse,myeclipse均可用,有完整操作步骤文档,eclipse需要3.6以上版本,myeclipse需要2015以上,或9.1以上的,破解好了记得给好评啊
使用eclipse + myeclipse + webshpere 开发网站
2、在myeclipse中配置 输入jetty:run -X 输入-noverify -javaagent:D:/java/spring/jrebel.jar 3、在pom.xml中加入下面信息 <plugin> <groupId>org.zeroturnaround</groupId> <artifactId>javarebel-...