Couldn't find any ArcGIS Engine forums, so hopefully this is the best place for this question.I'm trying to get some ArcObjects 9.x Java code running on a new installation of ArcGIS Engine Runtime 10.1 Beta 2 for Linux, but keep encountering the following exception very early in the program execution:
AutomationException: 0x80040154 - Class not registered
at com.esri.arcgis.interop.NativeObjRef.initNative(Native Method)
at com.esri.arcgis.interop.NativeObjRef.a(Unknown Source)
at com.esri.arcgis.interop.NativeObjRef.<init>(Unknown Source)
at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source)
at com.esri.arcgis.interop.Dispatch.<init>(Unknown Source)
at com.esri.arcgis.geodatabase.IWorkspaceFactoryProxy.<init>(Unknown Source)
at com.esri.arcgis.datasourcesfile.ShapefileWorkspaceFactory.<init>(Unknown Source)
at com.esri.arcgis.datasourcesfile.ShapefileWorkspaceFactory.<init>(Unknown Source)
...
Compiling works fine. My ArcGIS Engine install has been fully authorized. I have added $ENGINEINSTALLDIR/bin to my PATH, and have run the proper init_java.sh script prior to execution (LD_LIBRARY_PATH looks fine). My DISPLAY variable is also set correctly. The newest arcobjects.jar file is on my classpath.My program is able to get past the ArcGIS Engine initialization code:
EngineInitializer.initializeEngine();
AoInitialize aoInit = new AoInitialize();
aoInit.initialize(esriLicenseProductCode.esriLicenseProductCodeEngine);
...but as soon as I try to initialize an SdeWorkspaceFactory or ShapefileWorkspaceFactory, like this:IWorkspaceFactory sdeWSF = new SdeWorkspaceFactory();
I get the same AutomationException.Any help would be very much appreciated.Thanks,Jason