PROBLEM

ArcIMS Administrator command line tool returns NoClassDefFoundError

Last Published: April 25, 2020

Description

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

Cause

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.

  1. Search for arcims_admin.jar on your system. Note the path to the Java installation.
  2. In this example, the arcims_admin.jar was found in:
    Code:
    C:\Program Files\JavaSoft\JRE\1.3.1_02\lib\ext

    To run the ArcIMS Administrator command line tool based on this example, type:
    Code:
    "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.

Article ID:000005455

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic