This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes policy file urgent ????????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "policy file urgent ?????????" Watch "policy file urgent ?????????" New topic
Author

policy file urgent ?????????

sachin sharma
Greenhorn

Joined: Sep 27, 2001
Posts: 7
can anyone tell me that how can i create change in my policy file
urgent ???
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
Loop through your classpath necessary to you application, give the jar files the permission it needs. I use an ant task to write it. You can write a simple java code to write it too.

SCJD Study Group has been moved to http://www.developergroup.org/
sachin sharma
Greenhorn

Joined: Sep 27, 2001
Posts: 7
thanks a lot zhang,
but it is esier to me if you tell me in details. how you can do this ?
please.
sachin
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953

This is part of some policy file. Those 3 jars are on the classpath. Just write them down literally in a text file called java.policy.
Of course, it can be a lot more complicated like signer, etc. I've not got there yet.
[This message has been edited by Roseanne Zhang (edited September 30, 2001).]
 
GeeCON Prague 2014
 
subject: policy file urgent ?????????