This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Java in General and the fly likes java security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java security" Watch "java security" New topic

java security

Navneet Pathak

Joined: Apr 11, 2010
Posts: 5

what will happen if i create a different policy file and change it before the jvm starts?
Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
That depends on whether or not the JVM is set up to use the policy file. If you use the "java" command to start a JVM from the command line, then no policy file is used at all. If you are, in fact, starting the JVM so that the policy file you wrote is used, then it will be applied.
Don't get me started about those stupid light bulbs.
subject: java security