{
    "mode": "man",
    "parameter": "policytool",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/policytool/1/json",
    "generated": "2026-07-31T12:24:28Z",
    "synopsis": "policytool [ -file ] [ filename ]",
    "sections": {
        "NAME": {
            "content": "policytool - Reads and writes a plain text policy file based on user input through the\nutility GUI.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "policytool [ -file ] [ filename ]\n\n",
            "subsections": [
                {
                    "name": "-file",
                    "content": "Directs the policytool command to load a policy file.\n\nfilename\nThe name of the file to be loaded.\n\nExamples:\n\nRun the policy tool administrator utility:\n"
                },
                {
                    "name": "policytool",
                    "content": "Run the policytool command and load the specified file:\n\npolicytool -file mypolicyfile\n\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The policytool command calls an administrator's GUI that enables system administrators to\nmanage the contents of local policy files. A policy file is a plain-text file with a .policy\nextension, that maps remote requestors by domain, to permission objects. For details, see\nDefault Policy Implementation and Policy File Syntax at\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyFiles.html\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-file",
                    "content": "Directs the policytool command to load a policy file.\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "• Default Policy Implementation and Policy File Syntax at\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyFiles.html\n\n• Policy File Creation and Management at\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyGuide.html\n\n• Permissions in Java SE Development Kit (JDK) at\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html\n\n• Java Security Overview at\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/security/overview/jsoverview.html\n\n• Java Cryptography Architecture (JCA) Reference Guide at\nhttp://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html\n\n\n\nJDK 8                                       03 March 2015                              policytool(1)",
            "subsections": []
        }
    },
    "summary": "policytool - Reads and writes a plain text policy file based on user input through the utility GUI.",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Directs the policytool command to load a policy file."
        }
    ],
    "examples": [],
    "see_also": []
}