下载地址:http://www.zeroturnaround.com/jrebel/download/     下载下来的是一个Zip压缩包,打开之后会发现一个jrebel.jar,这就是其最重要的运行包了。其他都是一些文档和插件。

PS. rebel出了免费社区版,参见:

http://zeroturnaround.com/blog/free-version-of-jrebel-social/

一、安装包准备

1. Jrebel.jar 核心JAR包,http://zeroturnaround.com/jrebel/prev-releases/ 上面进行下载。

安装 JRebel Eclipse插件进入 Help » Install New Software... 并且输入下面的URL :http://www.zeroturnaround.com/update-site/

2. update-site.zip jrebel Eclipse插件http://www.zeroturnaround.com/update-site/update-site.zip

开放链接:http://pan.baidu.com/s/1gd9xkEv

 
2015-03-21新增内容:mvn jrebel 下调试找不到源码
目前我的做法是使用Remote Debug方式,下面我来说如何配置:
1、新建Maven Build->JRE-VM agruments里填写以下内容,注意javaagent路径需要和本地路径一致,红色部分就是配置开启dwp远程配置。
-noverify
-javaagent:/Users/chababa/Desktop/dev/applications/jrebel/jrebel.jar
-Xbootclasspath/p:jrebel-bootstrap.jar;jrebel.jar
-Drebel.generate.show=true
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.cxf_plugin=true
-Drebel.logback_plugin=true
-Drebel.mybatis_plugin=true
-Xdebug -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
2、Eclipse - Run - Debug Configurations - Remote Java Application - New - 选择project - 配置Configurations Properties 里面的 Host(本机调试:127.0.0.1) 和 Port(对应黄色字体8787)
3、配置好后,先运行mvn jetty:run 把web服务启动起来,然后,在选择刚才配置的debug remote启动,这样你在调试所有的jar包源码就可以跟踪进去了。
 
----------------------------------------------------------------------------------------------------
注意地方,如果是mvn项目,需要注意下面的配置
 
现在开始配置:
1、关注cha-baba微信公众号,发送“jrebel”即可收到下载地址,下载是百度云盘地址。
2、将下载的jrebel6.0.0-crack.zip解压,
jrebel6.0.0的jar包和破解文件假设文件解压在D:/jrebel步骤:
1.eclipse下载jrebe插件,可以去市场中下载      
2.打开eclipse的window-preference-jrebel,打开advance选项卡,把jar包的路径指向D:/jrebel/jrebel.jar     
3.用CMD打开DOS窗口,输入cd /d D:/jrebel/bin进入目录,输入activate.cmd D:/jrebel/jrebel.lic破解密钥      
4.如果eclipse没有tomca插件要先下载,然后在window-preference-tomcat-jvm setting中的append to jvm parameter新增5条配置:
-javaagent:D:/jrebel/jrebel.jar //jar在硬盘存放的路径
-noverify-Drebel.struts2_plugin=true 
//struts2-Drebel.aspectj_plugin=true //看自己需求要不要
-Drebel.spring_plugin=true //spring

======================================启动提示配置成功============================================

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:  #############################################################

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:  JRebel Legacy Agent 6.0.0 (201410311556)

2015-03-08 20:26:18 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:  Over the last 30 days JRebel prevented

2015-03-08 20:26:18 JRebel:  at least 3 redeploys/restarts saving you about 0.1 hours.

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:  Over the last 63 days JRebel prevented

2015-03-08 20:26:18 JRebel:  at least 4 redeploys/restarts saving you about 0.2 hours.

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:  Licensed to anonymous-user

2015-03-08 20:26:18 JRebel:   with the following restrictions:

2015-03-08 20:26:18 JRebel:   ####### Cracked by anonymous-user, For FUN! Unlimited! Enjoy! ######

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:  License type: perpetual

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:

2015-03-08 20:26:18 JRebel:  #############################################################

2015-03-08 20:26:18 JRebel:

*****************************

更改Java文件后,jrebel编译并自动加载到jvm

##################################################################################

2015-03-08 20:26:54 JRebel: Reloading class 'org.demo.DemoController'.

2015-03-08 20:26:54 JRebel-spring: Reconfiguring bean 'demoController' [org.demo.DemoController]

2015-03-08 20:26:54,511 INFO  [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - Mapped "{[/test],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String org.demo.DemoController.test()

2015-03-08 20:26:54,512 INFO  [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - Mapped "{[/test1],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String org.demo.DemoController.test1()

上述参数的相关说明:

-agentpath:  这个是你使用的JRebel Agent版本的lib包的路径(路径后缀不要写成jrebel.jar),注意其中的斜线方向。

-Drebel.dirs :这个是你要监控的项目的 class 文件路径

-Drebel.disable_update: 设为true,就不会联网检查更新

-DJAVA_OPTS: 这个选项不是必须,当内存溢出的时候或其它特殊情况下才需要设置它的参数大小。

http://www.cnblogs.com/xiaoheike/p/5296153.html

http://www.cnblogs.com/xiaoheike/p/5296153.html

http://hw1287789687.iteye.com/blog/2193757

最新文章

  1. [实践] Android5.1.1源码 - 在Framework中添加自定义系统服务
  2. 使用WP8最新的AudioVideoCaptureDevice类制作录像应用
  3. Linux不使用useradd创建用户
  4. matlab 绘制条形图
  5. hdu1018
  6. SharpGL学习笔记(十七) 立体文字和平面文字
  7. [HTML5游戏开发]简单的《找没有同汉字版〗爆去考考您狄综力吧
  8. webpack——devtool里的7种SourceMap模式
  9. python从2.7升级到3.5 需要主要的问题
  10. 利用idea解决git代码冲突问题
  11. Python3入门基础--str常用方法
  12. windows安装mysql5.7.xx解压版
  13. Centos6.8通过yum安装mysql5.7 centos7.5适用
  14. cf1063B Labyrinth (bfs)
  15. DataGridView控件用法二:常用属性
  16. How to export data from Thermo-Calc 如何从Thermo-calc导出文本数据
  17. springcloud入门系列(二):注册中心Eureka
  18. 在Mac OS X上配置Apache2
  19. windows2016上如何通过攻击ETERNALBLUE获得meterpreter反弹
  20. LeetCode 笔记系列五 Generate Parentheses

热门文章

  1. gerrit ssh 登陆设置
  2. SeaJS项目完整实例【转】
  3. Django学习之 - 基础部分
  4. Codeforces 660C Hard Process【二分 Or 尺取】
  5. hdu4085(斯坦纳树)
  6. CORS:Source.priciple implimentation in Spring
  7. JAVA 比较两张图片的相似度的代码
  8. 使用CEF类库处理HTTP请求
  9. Visual Studio VS如何切换代码自动换行
  10. Spring学习笔记——Spring中lazy-init与abstract具体解释