Go to %GERONIMO_HOME%\bin and create the file geronimo-jrebel.bat with the following contents:


@echo off
set JAVA_OPTS=-javaagent:$AGENT_PATH_WIN -Xms256m -Xmx512m -XX:MaxPermSize=256m %JAVA_OPTS%
call "%~dp0\geronimo.bat" %*

Use this command file instead of geronimo.bat if you want to run Geronimo with JRebel.

> geronimo.bat run