My Oracle Support Banner

How to Override the java.security File to Allow the Use of Different Security Properties (Doc ID 1582715.1)

Last updated on OCTOBER 22, 2019

Applies to:

Java SE JDK and JRE - Version 6 and later
Information in this document applies to any platform.

Goal

This document describes how to configure alternate java.security files to override or append the default  [JAVA_HOME]/jre/llib/security/java.security file.
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
 
OPTION A - OVERRIDING THE ENTIRE $JAVA_HOME/jre/lib/security/java.security FILE:
 OPTION B. APPENDING THE $JAVA_HOME/jre/lib/security/java.security FILE:
 Adding Runtime Flags for Applets
 FAQ
 Is there a Java property that can be used at runtime instead of making changes to java.security file?


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.