IntelliJ IDEA Quick Start

Installation Installing the JRebel plugin

  1. Open File > Settings. Select Plugins.
  2. Press Browse Repositories.
  3. Find JRebel. Press Install plugin.
  4. Next → Activation

Didn't work?

The plugin can also be downloaded as a ZIP archive from http://plugins.jetbrains.com/plugin/?id=4441. Once downloaded, open Plugins and press Install plugin from disk. Browse to the downloaded file and follow the prompts.

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 → Server 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.

Server configuration Enabling JRebel agent for your server

  1. Press the Run with JRebel button on the toolbar to run your application with JRebel enabled.
  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.

Project configuration Mapping your workspace to the deployed application

  1. Open View > Tool Windows > JRebel panel. The JRebel Modules window opens.
  2. Select the projects or modules you wish to enable JRebel for.
  3. Next, right-click your project node and select JRebel > rebel.xml. The rebel.xml file is generated for your project.
  4. Redeploy your application!
  5. Next → Completion

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).

Completion Building your project

  1. Open File > Settings and find Compiler.
  2. Make sure Make project automatically is enabled.
  3. And you’re done!

Why do this?

IntelliJ IDEA does not compile classes by default. Use the Make Project command to compile classes and update your application.

JRebel relies upon your IDE to do the compiling. JRebel reloads your compiled .class files and not your .java files. When you change code, JRebel pushes the changed classes and resources to the server without redeploying.
Learn more at the JRebel Learn Center.