The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Trail: Security in Java 2 SDK 1.2
Lesson: Quick Tour of Controlling Applications

Open the Policy File

Start Policy Tool by typing the following at the command line:
policytool

This brings up the Policy Tool window. To open the mypolicy policy file, use the Open command in the File menu. This will present you with an Open dialog, which you can use to navigate the directory structure until you get to the directory containing the policy file (that is, the C:\Test\ directory).

Choose the mypolicy file in that directory and then select the Open button.

This will fill in the Policy Tool window with information from the mypolicy policy file, including the policy file name and the CodeBase part of the policy entry created by the Quick Tour of Controlling Applets(in the Security in Java 2 SDK 1.2 trail) lesson.


This figure has been reduced to fit on the page.
Click the image to view it at its natural size.


Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Copyright 1995-2002 Sun Microsystems, Inc. All rights reserved.