When running the command line ArcIMS Administrator tool, a Java error indicating that the class could not be found is returned.
The error returned is this:
Exception in thread "main" java.lang.NoClassDefFoundError: com/esri/aims/admincore/cmd/Exec
The Java Runtime Environment (JRE) that is being invoked can not find the ArcIMS JAR files for running the command line Administrator.
Solution or Workaround
ArcIMS Administrator or Manager needs to be installed on the computer. If it is not, you will need to install before running the ArcIMS Administrator command line tool.
Furthermore, you need to ensure that the JRE installation you are using has the ArcIMS Administrator JAR files installed. Follow the steps to find which JRE ArcIMS used to install the Administrator JAR files.
- Search for arcims_admin.jar on your system. Note the path to the Java installation.
- In this example, the arcims_admin.jar was found in:
To run the ArcIMS Administrator command line tool based on this example, type:
"c:\Program Files\JavaSoft\JRE\1.3.1_02\bin\java.exe" com.esri.aims.admincore.cmd.Exec ...
Be sure to use the Java installation path from step 1 in your command.