• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

policy file

 
Ajit Kumar
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
when we specify
java -Djava.security.policy=someFile.policy someClasssName
is it possible for us to check if the specified policy file "someFile.policy" is actually present, in any way, from the main class file.
thanks in advance.
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajit,
You could make sure it's present by supplying it in your jar.
With Respect,
Matt DeLacey
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic