JRebel Quick Start

Follow this quide to get JRebel up and running.
Pick your IDE on the right.

Watch it in action

JRebel Quick Start

MyEclipse

Installation Installing the JRebel plugin

  1. Install the JRebel plugin using the update site.
  2. Work with this URL – http://update.zeroturnaround.com/update-site/.
  3. Next → Activation

Didn't work?

Don’t worry, you can also install JRebel by downloading the ZIP archive from http://update.zeroturnaround.com/update-site/update-site.zip. Once downloaded, open Help > Install New Software and press Add. Select Archive to point to the ZIP archive of the update site. Press OK to proceed.

Avoid installing the JRebel plugin using the marketplace as this may produce a non-functioning installation.

Did this work?

If the installation was a success, your IDE will restart. After the restart, JRebel will alert you via a notification.

Activation Getting a license

  1. Open Help > JRebel > Activation.
  2. Fill out the form.
  3. Press Activate JRebel.
  4. Next → Startup configuration

Got a license?

Press I already have a license in the activation window.
  • Activation code. Paste your activation code if you have one already.
  • License file from the hard drive. Point to your jrebel.lic file. You get this file via email when you purchase JRebel.
  • Connect to License Server. Enter your Group URL and email. You get the Group URL from your network administrator.

Did this work?

JRebel will let you know that your license is activated via a notification.

You can also see your license status from Help > JRebel > Activation.

Startup configuration Adding JRebel agent to your server or standalone application

  1. Open Help > JRebel > Configuration > Startup.
  2. Select Run via IDE.
  3. Select the check-box next to your server or application. Doing this will automatically run it with the required JVM arguments.
  4. Next → Project configuration

Good to know

If you cannot enable JRebel for any servers, please make sure you installed the plugin from the update site.

Did this work?

When successful, you will see the JRebel banner in the console right at server startup. This is what the JRebel banner should look like:
2016-09-14 12:01:38 JRebel:  #####################################################
2016-09-14 12:01:38 JRebel:
2016-09-14 12:01:38 JRebel:  JRebel Legacy Agent 6.5.0 (201609121236)
2016-09-14 12:01:38 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2016-09-14 12:01:38 JRebel:
2016-09-14 12:01:38 JRebel:  Over the last 1 days JRebel prevented
2016-09-14 12:01:38 JRebel:  at least 1 redeploys/restarts saving you
2016-09-14 12:01:38 JRebel:  about 0 hours.
2016-09-14 12:01:38 JRebel:
2016-09-14 12:01:38 JRebel:  Server is running with JRebel remote server support.
2016-09-14 12:01:38 JRebel:
2016-09-14 12:01:38 JRebel:  #####################################################

Project configuration Mapping your workspace to the deployed application

  1. Open Help > JRebel > Configuration > Projects.
  2. Select the jrebel-ide-icon check-box next to your project. This will generate rebel.xml and keep it up to date.
  3. Redeploy your application!
  4. Next → Reload your code

Didn't work?

Did this work?

When building your application, rebel.xml should be included within the application archive.
  • In case of JAR files, rebel.xml should be included in the root folder.
  • When working with WAR files, the rebel.xml should be located within the WEB-INF/classes folder.
  • EAR files require a rebel.xml for each internal EAR module (that means JARs and WARs).

Reload your code JRebel in action

  1. Make sure Project > Build Automatically is enabled!
  2. Restart your Java application.
  3. Change something in the application code.
  4. Refresh the application in the browser to see the changes!

Why do this?

JRebel relies upon your IDE to do the compiling. Enabling Build Automatically ensures that your .java files are compiled to .class files.
Learn more from JRebel Documentation.