English

Error: access denied java.lang.RuntimePermission createClassLoader

Error Message

When running ArcSDE Java API applications, the following error message displays:

"access denied java.lang.RuntimePermission createClassLoader"

Cause

The default Java Runtime Security setting does not allow the run time permission 'createClassLoader', which is required by the ArcSDE Java API.

Solution or Workaround

Update the <JAVA_HOME>\jre\lib\security\java.policy file. Add the following lines to the java.policy file:

Code:
// properties used by ArcSDE Java API
permission permission java.lang.RuntimePermission "createClassLoader";
java.util.PropertyPermission "NLS_LANG", "read";

    Related Information