Java 教程是为 JDK 8 编写的。本页中描述的示例和实践未利用在后续版本中引入的改进。
To save the new policy file you've been creating, choose the Save As command from the File menu. This brings up the Save As dialog box.
Navigate the directory structure to get to the directory in which to save the policy file: the Test
directory on the C:
drive. Type the file name
exampleraypolicy
Then choose the Save button. The policy file is now saved, and its name and path are shown in the text box labeled Policy File.
Then exit Policy Tool by selecting the Exit command from the File menu.