The JRebel plugin for IntelliJ IDEA includes the JRebel agent and helps you to automatically generate the JRebel configuration. It enables JRebel for applications and servers with a single click and improves the debugging support in the IDE.
Installing JRebel for the first time? Check out this handy Quick Start.
JRebel for IntelliJ IDEA supports version 2016.x or newer.
Using IntelliJ IDEA version 12.x or older? Please download JRebel 6.2.5 for IntelliJ IDEA.
Using IntelliJ IDEA version 13.x? Please download JRebel 2018.1.2 for IntelliJ IDEA.
Using IntelliJ IDEA versions 14.x or 15.x? Please download JRebel 2020.2.3 for IntelliJ IDEA.
Install from plugin repositories¶
To install the JRebel Plugin for IntelliJ IDEA via IntelliJ repositories, follow these steps:
Open the IntelliJ IDEA Settings… dialog. Select Plugins from the sections menu.
Press Browse plugin repositories… and locate the JRebel plugin.
Press Install plugin to download and install the JRebel plugin for IntelliJ IDEA.
IntelliJ IDEA might warn you that JRebel plugin depends on WebSphere and WebLogic plugins that might be disabled or not available in case of IntelliJ IDEA Community Edition. This is totally fine. These dependencies are optional and you can either accept or decline the enabling of the corresponding plugins.
IntelliJ will ask you to restart in order to complete the plugin installation. Make it so.
Install from ZIP archive¶
The plugin can be acquired also as a ZIP archive. All the released versions of the plugin are hosted at http://plugins.jetbrains.com/plugin/?id=4441.
To install the plugin from the ZIP archive, follow these steps:
Download the latest version of the plugin from http://plugins.jetbrains.com/plugin/?id=4441.
Once downloaded, open the IntelliJ IDEA Settings… dialog. Select Plugins from the sections menu. Press Install plugin from disk… to locate the plugin.
Browse to the location of the downloaded ZIP archive.
Press OK to confirm the installation. The IDE will ask you to restart in order to complete the plugin installation. Restart your IDE.
Upgrading to release version from nightly build¶
Following this procedure is only required for IntelliJ IDEA 13 and IntelliJ IDEA 14 users.
Access Settings (Preferences on Mac OS). Select Plugins.
Locate JRebel for IntelliJ.
Right-click the plugin name and select Uninstall.
Once done, reinstall the release version of JRebel for IntelliJ:
Access Settings (Preferences on Mac OS). Select Plugins.
Press Browse Repositories.
Find JRebel. Press Install.
Following the installation, you probably won’t have a license yet. Once your IDE restarts, the JRebel plugin will notify you about this. This happens via a popup notification:
Click the link in this popup. The JRebel activation window will open. If you closed the popup, you can also open this window from Help > JRebel > Activation.
This window contains two tabs: Try JRebel for FREE and I already have a license.
Try JRebel for FREE¶
To start your 14-day free JRebel Trial, fill out this form, select I agree with the terms & conditions of the JRebel License Agreement and press Activate JRebel. It’s as easy as that!
I already have a license¶
Open this tab if you already have a JRebel license. You can select one of three activation options:
Activation code – Select this and paste your trial activation code in the text field. Press Activate JRebel to activate using the activation code.
Choose license file from the hard drive (jrebel.lic) – Select this option if you bought a license. We will send you a
jrebel.liclicense file using email. Press Browse and locate your
jrebel.liclicense file on the hard drive. Next, press Activate JRebel to activate using the license file.
Connect to License Server – Select this option if your network administrator supplies you with a License Server Group URL. The Group URL is a unique URL, consisting of the License Server address and a unique key. Paste the Group URL into the first field and input your email address into the second. Press Activate JRebel when done to activate using the License Server. JRebel 6 requires License Server 3 or newer for activation.
If everything went according to plan, you should now have a fully functional JRebel installed!
The only required configuration file is rebel.xml. This is used by JRebel to map the running application to the workspace. The good news is that IDE plugin can automate this configuration for you.
Right-click on the project node in the Project View and select JRebel > rebel.xml.
A dedicated configuration file should be generated for every module in the project. For more information please see the “Application configuration” chapter.
From this context menu you can also open the module configuration settings. To do this, right-click the desired module and select JRebel > Configure module.
IntelliJ IDEA does not compile classes on save by default. Press Ctrl+Shift+F9 to compile the current file, module or package (you can also find this command via Build > Make Project).
Once you have generated
rebel.xml, you need to redeploy your application to the server for the configuration to take effect.
If you would like to make modifications to the configuration file, please see the full reference for rebel.xml file format.
Note that when using either Maven or Gradle for your project, you might consider using the respective plugin for generating
rebel.xml (and not the IDE plugin). For more information, please refer to either Maven plugin or Gradle plugin.
The JRebel tool window provides an overview of JRebel configurations for the active project. This tool window displays a flat list of modules of the project. From here it is possible to quickly enable JRebel configuration for a particular module.
By selecting the checkbox next to the module name, you will generate the rebel.xml configuration file that will be placed into the source tree of the project. For Maven projects it will be placed into
src/main/resources so that it will be picked up automatically during the build.
Please note that
rebel.xml should be deployed to the application container with the application.
The JRebel plugin for IntelliJ IDEA includes dedicated launch buttons. These buttons are located on the main toolbar and on the navigation toolbar by default. You can also find these commands via the Run menu.
The first button launches the container with JRebel. The second button launches the container with JRebel in debug mode.
By launching the process from one of these buttons, the JRebel plugin will automatically add the appropriate command line parameters.
External servers and remote servers¶
When launching the application server from a command line or using a remote server, open Help > JRebel > Configuration and select Startup. Select your desired
Run via IDE – This displays the server launch instructions from within the IDE.
Run locally from command line – Select this option to access JRebel’s integrated CLI instructions. You will be presented with a set of drop-down menus. Select your desired Java version and operating system to receive a set of pre-configured instructions. Follow the steps provided to start your external, command line server with JRebel enabled.
Run on a remote server – Select this option to configure JRebel in a JRebel Cloud/Remote setting. Follow the steps provided.
You can also find the CLI instructions within this manual: Running the container from command line.
Disable automatic application deployment¶
Open the Run/Debug Configuration for the corresponding application server via Run > Edit Configurations. On the Server tab, set On frame deactivation to Do nothing.
Now you can use the Run with JRebel and Debug with JRebel launch buttons to start the selected configuration with JRebel.
You can quickly get in touch with JRebel Support using the embedded support dialog in Help > JRebel > Submit a Support Ticket.
From here, describe your issue and specify your email address for further contact. Enable trace level logging to give JRebel Support more information on what went wrong and choose to add the log files to the support ticket. Press Send when ready.
Updating the IntelliJ IDEA plugin¶
Open Help > Check for Update.
Select JRebel from the list when available.
Press Update to continue.
Complete the installation.
Restart IntelliJ IDEA.
To verify you current JRebel version, open Help > JRebel > Configuration and select the Advanced node. Find your current plugin version. When upgrading from very old plugin versions, a complete plugin uninstall and new version install is recommended instead.
IDE log level configuration¶
You can configure the JRebel IDE plugin log level using a command line parameter. You can add this parameter to your
The default value for this property is
info. The JRebel IDE plugin log file itself is stored in