To register your custom components (for example, shared libraries, DLLs, OCXs, and so on) do the following steps:
- Source the init_engine.csh script in your runtime installation's $AGSENGINEJAVA. This will set all of the necessary environment variables necessary to find the runtime libraries, executables and scripts:
- % source $AGSENGINEJAVA/init_engine.csh
- Modify the Unix library path so that any of your local library dependencies can be found during registration:
- % setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:
- Run the regsvr32 utility as you would on Windows. The regsvr32 utility is packaged with the runtime installation.
- % regsvr32 -c /libyourlibrary.so
These steps can easily be implemented as part of an installation script for your application. For more information on how this is done, see the following Engine registration scripts:
- $AGSENGINEJAVA/.Setup/registerArcGISEngineRT
- $AGSENGINEJAVA/.Setup/registerEngine.