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

Oracle JDeveloper

Installation Installing the JRebel plugin

  1. Download the JRebel plugin archive.
  2. Open Help > Check for Updates and select Install From Local File.
  3. Browse to the downloaded ZIP and press Next.
  4. Next → Activation

Using JDeveloper 11g R1? Download this plugin.

Did this work?

If the installation was a success, your IDE will restart.

Activation Getting a license

  1. Open Tools > Preferences.
  2. Find JRebel. Press JRebel Config Center.
  3. Open the Activation tab on the left and select your desired option.
  4. Next → Startup configuration

Get JRebel Trial

Head on over to JRebel Trial and fill out the form to get your personal trial license.

Got a license?

  • Choose license file from the disk. Point to your jrebel.lic file. You get this file via email when you purchase JRebel.
  • Activation code. Paste your activation code if you have one already.
  • Connect to License Server. Enter your Group URL if you were given one by your administrator. You also need to specify your email address.

Startup configuration Enabling JRebel for your JDeveloper

  1. Press the JRebel button on the toolbar. This will enable JRebel throughout JDeveloper.
  2. Next → Project configuration

Good to know

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-11-15 12:19:20 JRebel:  #############################################################
2016-11-15 12:19:20 JRebel:  
2016-11-15 12:19:20 JRebel:  JRebel Agent 7.0.0 (201611081555)
2016-11-15 12:19:20 JRebel:  (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2016-11-15 12:19:20 JRebel:  
2016-11-15 12:19:20 JRebel:  Over the last 1 days JRebel prevented
2016-11-15 12:19:20 JRebel:  at least 0 redeploys/restarts saving you about 0 hours.
2016-11-15 12:19:20 JRebel:  
2016-11-15 12:19:20 JRebel:  Licensed to ZeroTurnaround.
2016-11-15 12:19:20 JRebel:  
2016-11-15 12:19:20 JRebel:  #############################################################

Project configuration Mapping your workspace to the deployed application

  1. Right-click your project and select Project Properties > JRebel panel.
  2. Press Generate now!
  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. Restart your Java application.
  2. Change something in the application code.
  3. Open Build > and select Make All.
  4. Refresh the application in the browser to see the changes!

Why do this?

JRebel does not compile classes, it only reloads them. JDeveloper doesn’t compile changed classes automatically. This means that you will have to manually make your project after changing Java code.

Avoid rebuilding your project when the application is running with JRebel. JRebel uses file timestamps to check if they have been modified. Reloading all the resources in a large application will have an impact on performance.
Learn more from JRebel Documentation.