Backend Development 5 min read

How to Install and Configure JRebel for Java Web Development (Tomcat)

This guide explains how to install JRebel, a hot‑deployment tool for Java web applications, using either Tomcat startup parameters or the IntelliJ IDEA plugin, and details the necessary VM options, deployment settings, and Maven/Gradle integration to achieve instant code updates without restarting the server.

Java Architect Essentials
Java Architect Essentials
Java Architect Essentials
How to Install and Configure JRebel for Java Web Development (Tomcat)

JRebel Installation

JRebel eliminates the need to restart Tomcat after code changes, enabling instant hot‑deployment for Java classes and Spring configuration.

Method 1: Add parameters to Tomcat startup

Extract JRebel, configure Tomcat in IntelliJ IDEA, select the Deployment tab, enable “Update classes and resources” for both “On ‘Update’ action” and “On frame deactivation”, and add the appropriate VM option for your OS.

-noverify -agentpath:D:/dev_env/jrebel/jrebel_running/lib/jrebel64.dll

Linux:

-agentpath:/dev_env/jrebel/jrebel_running/lib/libjrebel64.so

Mac OS:

-agentpath:/dev_env/jrebel/jrebel_running/lib/libjrebel64.dylib

Method 2: IntelliJ IDEA plugin

Install the JRebel plugin locally, enable it in the project settings, and verify the green “VALID” status. The plugin adds Run and Debug buttons with JRebel support.

Custom container launch

Configure Tomcat as before, leaving VM options empty, then start the project using the Debug button; successful execution shows JRebel version info in the log.

Launching with Maven or Gradle

Open the JRebel panel, select the module, generate rebel.xml , and run the project via Maven/Gradle tasks with JRebel enabled.

After activation, any class change can be recompiled (Ctrl + Shift + F9) and instantly reflected without restarting.

JavaBackend DevelopmentIntelliJ IDEATomcatJRebelHot Deployment
Java Architect Essentials
Written by

Java Architect Essentials

Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.