wood burning stoves 2.0*
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


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Policy file ???" Watch "Policy file ???" New topic
Author

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...

Thanks

Baris Dere
Vishwa Kumba
Ranch Hand

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

Joined: Aug 27, 2003
Posts: 1064
Did U read this thread?

http://www.coderanch.com/t/185663/java-developer-SCJD/certification/FBNS-JAR-files-execution-problems
 
GeeCON Prague 2014
 
subject: Policy file ???