JRebel is a tool from ZeroTurnaround that makes it possible for Java developers to instantly see any code change made to an appĀ without redeploying. JRebel lets you see code changes instantly, versioning classes and resources individually and updating one at a time instead of as a lump application redeploy.

How to install and use JRebel

You have now installed and setup the stuff that WOLips needs to know about the location of JRebel.jar.

How do you use it?

Well that has become very simple since the inclusion of Quinton Dolan's JRebel plugin in WOLips.

For a project in which want to use jrebel to change java code while running, go to the run configuration of the project, under the contextual menu Run As->Run Configurations.

In the Run Configuration of a WOApplication you will notice an extra Tab, called JRebel.

Select the tab, and check the check boxes to enable JRebel Agent and (eventually) Enable debug logging.

Start you project from the Run Configuration.

Suddenly, you will get messages about jrebel being loaded, and some extra information about what settings are available as extra arguments.

If you get out of memory error with respect to "Perm Gen space", just allocate more Perm Gen memory in command line launch args in your launch configuration. For example:

-XX:MaxPermSize=384m

Start changing your java code on the fly: watch and start saving time.

More information

Old screencast from David Avendasora about using JRebel with Eclipse 3.4.