Open Help > Install New Software… and enter the URL for our update site: http://update.zeroturnaround.com/update-site/.
When presented with the feature select list, select JRebel for MyEclipse (2015 and later) or JRebel for MyEclipse (9.1 through 2014) – based on your IDE.
Continue with the wizard as prompted. Accept the terms of the license agreement and restart your IDE when prompted.
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 Activate your Trial link in this popup and the JRebel Activation window will open. You can also open this window from Help > JRebel Activation. Alternatively, click Watch a JRebel video to view a quick introductory video (this opens a browser window).
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!
JRebel requires just one configuration file: rebel.xml. This is used by JRebel to map the running application to the workspace. The good news here is that the IDE plugin can automate the configuration for you. In fact, rebel.xml is generated automatically once you enable JRebel nature for the project.
You can also enable JRebel nature via the JRebel Configuration, accessible from the Help menu. The Projects tab lists all your current workspace projects in the Projects section. A checkbox in front of every project title indicates whether JRebel nature is enabled or disabled for that specific project. Selecting the checkboxes for any projects will enable JRebel nature for them. This will also automatically generate the
rebel.xml configuration file.
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.
Configuring application servers to work with JRebel is done via Help > JRebel Configuration > Startup. In this view, select the option you use to run your application server.
Run via IDE¶
A list of all servers configured for your IDE is displayed in JRebel Configuration > Startup > Run via IDE. Select the checkbox next to any server automatically adds the required JVM arguments to the server startup configuration. The automatic publishing option will be disabled in the server configuration – to prevent unintended automatic redeploys.
Run using CLI¶
When running your application servers externally (for example using a command line), select JRebel Configuration > Startup > Run using CLI. Select your desired Java and application server type. Follow the instructions to generate a startup script or new configuration.
Run on a remote server or VM¶
When using JRebel with remote server support (either locally for a virtual machine, a physical remote server or cloud), select JRebel Configuration > Startup > Run on a remote server or VM. Select your desired Java, application server and operating system. Follow the instructions to download JRebel onto the remote server and generate the startup script.
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