"Diagram" Eclipse JRebel6.2.0 Thermal Deployment plug-in installation, cracking and configuration

Source: Internet
Author: User

  These two days in the background management system, the front-end framework with bootstrap, backend with springmvc+velocity. in the development process, it is often necessary to fine-tune the interface, adjust the parameters and so on, each time you change the Java code, you have to redeploy once, the time spent on a variety of waiting on too much. So determined to put the Jrebel plug-in.

  First step, install:

First of all, you can go to: https://zeroturnaround.com/software/jrebel/quickstart/eclipse/Download the latest Jrebel compression package. (Some network online installation will often time out, we recommend the use of offline download installation method, here online installation methods I will not mention, you check the Internet)

Next, open Eclipse>help>install New software>add>archive, and then select the Jrebel package that you just downloaded, follow the prompts to install to the prompt to restart.

  

  

    

  The second step, crack:

To: Https://github.com/NathanChan/JRebel6.2.0-Cracker download cracked file to local.

Unzip, the compressed package: Jrebel.jar and jreble.lic two files, covering the Eclipse installation directory under the Plugins folder org.zeroturnaround.eclipse.embedder_6.2.2. RELEASE-201507291337 folder under all subfolders that contain Jrebel.jar. Then restart Eclipse.

  After rebooting, viewing eclipse>window>preferences will find that there is a Jrebel directory.

  

Click Jrebel Configuration to see that it has cracked

The third step, configuration:

Open the server panel, double-click Tomcat, and come to the Tomcat overview configuration panel, confirming that if selected, click Open Launch Configuration

  

Switch to the Arguments tab, in the VM arguments box, after the original configuration, add:

-noverify-javaagent:e:\eclipse\plugins\org.zeroturnaround.eclipse.embedder_6.2.2.release-201507291337\jr6\ Jrebel\jrebel.jar
-drebel.dirs=${project_loc}\web-inf\classes
-drebel.spring_plugin=true
-drebel.struts2-plugin=true
-xms256m-xmx512m-xx:maxpermsize=128m

  

Description of the above parameters:

-agentpath: This is the path of the LIB package that you use for the Jrebel Agent version (the path suffix is not written in Jrebel.jar), note the slash direction.

-drebel.dirs: This is the class file path of the project you want to monitor

-drebel.disable_update: Set to true to not network check for updates

-djava_opts: This option is not required, it is necessary to set its parameter size when memory overflows or in other special cases.

Then click OK to save.

Finally, switch to the Tomcat module panel:

  

Select the item you want to use Jrebel, click Edit

  

Then uncheck the Auto reloading enabled multi box and click OK

  

Next let the program run, if a similar prompt appears in the console, you are done!! Next try to modify the Java code, Jrebel will be automatically redeployed!

  

  

  

"Diagram" Eclipse JRebel6.2.0 Thermal Deployment plug-in installation, cracking and configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.