permaculture playing cards*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 1064
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: 1064
Did U read this thread?
Don't get me started about those stupid light bulbs.
subject: Policy file ???
Similar Threads
Issue with uploading the assignment
The mode flag
Final Packaging "scjda-srXXXXXXX.jar" question!
Can't find file
elp Needed for SCJD Assignment Deliverable