wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes policy file in jar archive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "policy file in jar archive" Watch "policy file in jar archive" New topic
Author

policy file in jar archive

Hung Tang
Ranch Hand

Joined: Feb 14, 2002
Posts: 148
I want to run my program from a jar file. But to setup the server, I need to start rmiRegistry and this requires my policy file to be read. The policy file is in the jar file though. What do I type in my command prompt to be able to read the policy file in the jar file, so I can load up my server properly?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Hi
You can set the properties with:

/Ren´┐Ż


Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: policy file in jar archive