Go to %ORACLE10_HOME%\bin
and create the file oc4j-jrebel.cmd
with the following contents:
set JREBEL_BOOTSTRAP="%~dp0\jrebel-bootstrap.jar" java -Drebel.bootstrap=%JREBEL_BOOTSTRAP% -jar $AGENT_PATH_WIN set OC4J_JVM_ARGS=-noverify -Xbootclasspath/p:%JREBEL_BOOTSTRAP%;$AGENT_PATH_WIN %OC4J_JVM_ARGS% call "%~dp0\oc4j.cmd" %*
Use this command file instead of oc4j.cmd
if you want to run OC4J with JRebel.