JRebel Reference Manual

©ZeroTurnaround OÜ, Estonia, Tartu


Prev  Home  Next
1. Installation 3. Application Configuration

2. IDE Configuration

2.1 Introduction
2.2 Eclipse
2.3 MyEclipse 9.1 or later
2.4 IntelliJ IDEA 8.x or later
2.5 IntelliJ IDEA X or later
2.6 NetBeans 6.9.x
2.7 Oracle JDeveloper

2.1 Introduction

JRebel IDE plugins are available for Eclipse, IntelliJ IDEA and NetBeans and provide the following features:

Debugger
Support for debugging the application with JRebel agent enabled. Necessary to set breakpoints, inspect expressions and step through code.
Running with JRebel
Support for starting the application or server from withing the IDE with the JRebel agent enabled. [Missing in NetBeans and IntelliJ IDEA before 8.x]
rebel.xml generation
Support for generating the rebel.xml configuration file from the IDE project definition. [Missing in NetBeans and IntelliJ IDEA before 8.x]

2.2 Eclipse

Install the JRebel Eclipse plugin by going to Help » Install New Software... and use the URL :
http://www.zeroturnaround.com/update-site/

For offline installation use the downloadable zip archive instead:
http://www.zeroturnaround.com/update-site/update-site.zip


install


If you chose not to use the embedded JRebel, you need to specify the path to jrebel.jar manually. Go to Window » Preferences » JRebel, browse to the installation directory and select the jrebel.jar


preferences


There are also some tweaks to be done in the debugger settings. Go to Window » Preferences and from there to Java » Debug » Step Filtering.

Check Use Step Filters, Filter synthetic methods, and Step through filters. Now check all the default filters and use the Add Filter button to add com.zeroturnaround.* and org.zeroturnaround.*.


Step Filtering


For best experience, go to Project » Build Automatically and make sure it is checked.


Build Automatically

2.3 MyEclipse 9.1 or later

Install the JRebel MyEclipse plugin by going to Help » Install New Software... and use the URL :
http://www.zeroturnaround.com/update-site/

For offline installation use the downloadable zip archive instead:
http://www.zeroturnaround.com/update-site/update-site.zip


install


If you chose not to use the embedded JRebel, you need to specify the path to jrebel.jar manually. Go to Window » Preferences » JRebel, browse to the installation directory and select the jrebel.jar


preferences


There are also some tweaks to be done in the debugger settings. Go to Window » Preferences and from there to Java » Debug » Step Filtering.

Check Use Step Filters, Filter synthetic methods, and Step through filters. Now check all the default filters and use the Add Filter button to add com.zeroturnaround.* and org.zeroturnaround.*.


Step Filtering


For best experience, go to Project » Build Automatically and make sure it is checked.


Build Automatically

2.4 IntelliJ IDEA 8.x/9.x

The plugin is hosted at the central IntelliJ plugin repository. The easiest way to install is to go to File » Settings » Plugins in IntelliJ and use the built-in interface for installing. The plugin name is JRebel Plugin (formerly JavaRebel). If you have previously installed the older JavaRebelIdeaDebuggerPlugin please uninstall it. You can check out the plugin page for more information about the releases of the plugin.


JavaRebel Plugin installation


Since JRebel installation is done independently from the plug-in installation, one should point IntelliJ plug-in to jrebel.jar explicitly. Go to Settings » JRebel » JRebel location and browse to the jrebel.jar location on your filesystem (it's %REBEL_HOME%\jrebel.jar).


Specify jrebel.jar location


There are also some tweaks to be done in the debugger settings:

2.5 IntelliJ IDEA X

The plugin is hosted at the central IntelliJ plugin repository. The easiest way to install is to go to File » Settings » Plugins in IntelliJ and use the built-in interface for installing. The plugin name is JRebel Plugin (formerly JavaRebel). If you have previously installed the older JavaRebelIdeaDebuggerPlugin please uninstall it. You can check out the plugin page for more information about the releases of the plugin.


JRebel Plugin installation


Since JRebel installation is done independently from the plug-in installation, one should point IntelliJ plug-in to jrebel.jar explicitly. Go to Settings » JRebel » JRebel location and browse to the jrebel.jar location on your filesystem (it's %REBEL_HOME%\jrebel.jar).


Specify jrebel.jar location


There are also some tweaks to be done in the debugger settings:

2.6 NetBeans 6.9.x

Start off by downloading the NetBeans plugin from the http://plugins.netbeans.org. Save the NBM file to your computer and fire up NetBeans.

Next, lets open the Plugins menu from the Tools top menu.



From the opened window, navigate to the Downloaded tab and click the Add Plugins button. Select the downloaded NBM file for the appeared dialog. Next, you should see a new plugin in the plugins section and some general information about it. Check the checkbox besides the JRebel plugin name and click Install.



Hit Next button to proceed with the installation until you reach the dialog screen suggesting the a restart.

After restart open the Options dialog from Tools menu, and switch to JRebel tab.

Browse to the jrebel.jar location on your filesystem (it's %REBEL_HOME%\jrebel.jar).

After you've completed the installation and configured the path to jrebel.jar you are all set for using JRebel in NetBeans.

2.7 Oracle JDeveloper

Currently, JRebel doesn't have a dedicated plug-in for Oracle JDeveloper. Luckily, JRebel is IDE-agnostic, so it doesn't actually matter which IDE you use - the plug-ins are provided just to make the things more comfortable. Proceed to Application Configuration how to enable JRebel for an application, and refer to Server Configuration to learn how to enable JRebel agent for the application server of your choice.


Prev  Home  Next
1. Installation 3. Application Configuration

JRebel Reference Manual, ©ZeroTurnaround OÜ, Estonia, Tartu