Running the Gen mkjavart.bat file (directory "%Gen86%\Gen\classes") creates a Gen Java runtime .jar file (e.g. genrt.jar).
Can it be run just once with multiple Gen runtime types (RTtype) specified at the same time?
The mkjavart.bat file is only really designed to be executed with a single Gen runtime type (RTtype) at any one time, although multiple communication products are supported. However it is possible to include more than one RTtype using the steps below.
To run mkjavart.bat once for two or more of the available runtime types i.e. JavaProxy, OpLibrary, EJB, WCE, the following syntax can be used:mkjavart.bat genrt.jar clean <RTtype1>_dirty <RTtype2>_dirty ... <comms_product1> <comms_product2> ...
Note the first option is "clean
" as this will ensure any existing genrt.jar file is replaced with the output from the command.
For example to run mkjavart.bat for all 4 RTtypes JavaProxy, OpLibrary, EJB & WCE plus the 2 communication products TCPIP & EJBRMI use:mkjavart.bat genrt.jar clean JavaProxy_dirty OpLibrary_dirty EJB_dirty WCE_dirty TCPIP EJBRMI