JRebel with Cloud Foundry

Pushing any JRebel remote server enabled application (containing rebel-remote.xml) to the Cloud Foundry will automatically download the latest version of JRebel and set it up for use.

Follow the tutorial below to get started with JRebel and Cloud Foundry.


These instructions have been confirmed to work with Pivotal Cloud Foundry as well as SAP Cloud Foundry. The API login URL needs to be replaced based on the service provider.

Pivotal Cloud Foundry and JRebel remote server support tutorial

To get started, you need to sign up with Pivotal. Head over to Pivotal Cloud Foundry to get a free trial account. Once done, you’re ready to move on.

  1. Download and install the Cloud Foundry (cf) command line interface.

  2. Login to Pivotal using the account you created earlier.

    $ cf login -a https://api.run.pivotal.io
  3. Install and configure JRebel on your local workstation.

    3.1 Using Eclipse? Install JRebel for Eclipse and configure JRebel remote server support.

    3.2 Using IntelliJ IDEA? Install JRebel for IntelliJ IDEA and configure JRebel remote server support.

    3.3 Using NetBeans? Install JRebel for NetBeans and configure JRebel remote server support.

  4. Push your local application to Pivotal Cloud Foundry! Run the following command within your project root folder:

    $ cf push {APP_NAME} -p target/{webapp}.war


    Make sure that the rebel-remote.xml on your local workstation and on Pivotal Cloud Foundry are identical!

  5. Configure your project’s remote server application URL in the IDE to reflect the application URL on Pivotal.

  6. Press the Synchronize button in your IDE to upload any changes to Pivotal. Now simply refresh the application on the cloud platform and your changes should appear like magic! Success!