This article has two sections:
See the readme.
The registry is a system database that holds configuration information. The registry provides necessary bindings between identifiers for COM components and the implementation for that component. COM components need to be in the registry to be created.
Typically, a vendor registers COM components as part of the installation process. For this sample, you are the vendor, therefore, you must register the COM component yourself.
Return to the top of this article.
JAVAREG.EXE is a tool that registers Java class files as COM components. This tool has a number of options. One of the key options is /clsid. The CLSID must match the one in the type library for this COM component. See the online documentation for more information on JavaReg.
To facilitate calling JavaReg, the sample includes the batch file REGISTEREUCLID.BAT.
To run JavaReg using the batch file:
set path=%path%;c:\program files\devstudio\vj\bin
registereuclid
Return to the top of this article.