Go to %JBOSS_HOME%\bin
and create the file run-jrebel.cmd
with the following contents:
@echo off set JAVA_OPTS=-javaagent:$AGENT_PATH_WIN -Xms256m -Xmx512m -XX:MaxPermSize=256m %JAVA_OPTS% call "%~dp0\run.bat" %*
Use this command file instead of run.bat
if you want to run JBoss with JRebel.