This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Policy file ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Policy file ???" Watch "Policy file ???" New topic

Policy file ???

Baris Dere
Ranch Hand

Joined: Mar 23, 2004
Posts: 31
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...


Baris Dere
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1066
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

Joined: Aug 27, 2003
Posts: 1066
Did U read this thread?
I agree. Here's the link:
subject: Policy file ???
It's not a secret anymore!