zoukankan      html  css  js  c++  java
  • Rebel 6 破解版及使用方法

    下载地址: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

  • 相关阅读:
    学习笔记(4)---JQuery
    学习笔记---ES6
    angular.js的学习笔记(1)
    vue.js学习笔记(1)
    HTML5“爱心鱼”游戏总结
    学习笔记(3)---综合
    学习笔记(2)---CSS中的易混淆点
    学习笔记(1)----水平垂直居中的方法
    javascript:void(0)是什么意思
    private Int32? m_shopid;
  • 原文地址:https://www.cnblogs.com/Lzf127/p/7435955.html
Copyright © 2011-2022 走看看