Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where is the poilcy file supposed to be  RSS feed

 
Siddharth Mehrotra
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what i mean is that do i have to have my custom policy file for starting both client and server
 
HenkGijsbert
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sid,
You don't need a policy file to start your client.
For the server, I have my policy file in the same directory as the server.jar and it works, but I suppose you could also demand the user to locate it in the jdk*.*\jre\lib\security directory.
I prefer to have it in the same directory as the server.jar because it means less installing for the user.
Regards,
Henk van Jaarsveld
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!