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


@echo off
set JAVA_OPTIONS=-javaagent:$AGENT_PATH_WIN %JAVA_OPTIONS%
call "%~dp0\startWebLogic.cmd" %*

Use this command file instead of startWeblogic.cmd if you want to run Weblogic with JRebel.

It is highly recommended to avoid using class caching (CLASS_CACHE=true) because in some cases it may prevent classes and resources from being reloaded.