Call for environment variable generates the following exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission getenv.*) (Doc ID 1025856.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.

Symptoms

Call for environment variable generates the following exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission getenv.*)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms