OC4J Standalone ORACLE_HOME
Just find the oc4j.cmd in the bin directory and use the following command to set your ORACLE_HOME set ORACLE_HOME=C:FilesDevelopExternaloc4j_extended_101340 add this line the to the first line of oc4j.cmd. Using this option, you don’t need to set ORACLE_HOME in your environment variables any more.