JavaScript is not supported by your browser. JavaScript support is required for full functionality of this page.
Skip to Content

Java Platform, Standard Edition Tools Reference
Contents Previous Next

policytool

Reads and writes a plain text policy file based on user input through the utility GUI.

Synopsis

policytool [ -file ] [ filename ]

-file

Directs the policytool command to load a policy file.

filename

The name of the file to be loaded.

Examples:

Run the policy tool administrator utility:

policytool

Run the policytool command and load the specified file:

policytool -file mypolicyfile

Description

The policytool command calls an administrator's GUI that enables system administrators to manage the contents of local policy files. A policy file is a plain-text file with a .policy extension, that maps remote requestors by domain, to permission objects. For details, see Default Policy Implementation and Policy File Syntax at
http://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyFiles.html

Options

-file

Directs the policytool command to load a policy file.

See Also

Contents Previous Next

Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /