File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Policy file ???

 
Baris Dere
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I will submit my assignment tuesday. I am wondering about one thing. I have 2 policy files "client.policy" and "server.policy". I have now 1 jar file. runme.jar

you can start with 2 parameters:

java -jar runme.jar server
java -jar runme.jar client
java -jar runme.jar

but how must I give the policy file ? In the assignment it is saying that no other command line arguments must be used...



Can you help me please...

Thanks

Baris Dere
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Baris,
Are you sure your instructions html file specifies you to use policy files? I have B&S assignment and the instructions explicitly forbid the use of security manager for RMI, so no need for policy files also.I think all new SCJD assignments restrict the use of RMI security manager.

Which assignment are you doing?
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic