To run an ActiveX program initiated from an icon or command
line (a non-service program) that is to use the ActiveX to the Enterprise Java Beans (EJB) bridge, you must perform some
initial configuration to set appropriate environment variables and
to enable the ActiveX to EJB bridge to find its XJB.JAR file
and the Java run-time environment. This
uses a batch file to set up the environment within which the ActiveX
program can run.
About this task
To perform the required configuration, complete the following
steps:
Procedure
- Edit the setupCmdLineXJB.bat file to specify
appropriate values for the environment variables required by the ActiveX
to EJB bridge. For more information about these environment variables,
see ActiveX to EJB bridge, environment and configuration. For
more information about creating a JVM for an ActiveX program, see
ActiveX to EJB bridge, initializing the Java virtual
machine (JVM). After the ActiveX program has created
an XJB.JClassFactory object and called the XJBInit() method, the JVM
is initialized and ready for use.
- Start the ActiveX client application by using one of the
following methods: