Go to %JBOSS_HOME%\bin and create the file run-jrebel.cmd with the following contents:


@echo off
set JREBEL_BOOTSTRAP="%~dp0\jrebel-bootstrap.jar"
java -Drebel.bootstrap=%JREBEL_BOOTSTRAP% -jar $AGENT_PATH_WIN  
set JAVA_OPTS=-noverify -Xbootclasspath/p:%JREBEL_BOOTSTRAP%;$AGENT_PATH_WIN %JAVA_OPTS%
call "%~dp0\run.bat" %*

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