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