This procedure describes how to run your project.
To run your project:
. emapi_env.sh
Running the command with the above syntax ensures that the variables are valid after the command is run.
set JAVA_HOME=java_installation_location
set PATH=java_installation_location;%PATH%
setenv JAVA_HOME java_installation_location
setenv PATH java_installation_location:$PATH
java.exe -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB
-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -classpath
%CLASSPATH% projectMainClass
java -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB
-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -classpath
$CLASSPATH projectMainClass
projectMainClass is your project main class.
These parameters are needed by Control‑M/EM API. Pass them to your project as the first and second runtime parameters. The command must be entered as a single line.
Optionally, you can pass these parameters by using one of the alternative methods described in Error in Java virtual machine parameters.
Parent Topic |