Why is Exception thrown with "Property java.home not allowed to be set or got" Message ? (Doc ID 1970250.1)

Last updated on MARCH 07, 2015

Applies to:

Oracle Java Cloud Service - SaaS Extension - Version N/A and later
Information in this document applies to any platform.

Goal

An application has been deployed into Oracle Java Cloud Service - SaaS Extension instance.
This application is accessing the JVM property (java.home)  by reading its value :

  More generally,   the question is to know why this exception when accessing System properties related to  the JVM.

 

Solution

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