How to write a policy file that automatically indicates current directory?
Dear all,
My application will be run in some directories that I don't know. so if I wrote my policy file in this way.
grant codeBase"file:/home/loudking/source_code/"{
permission java.security.AllPermission;
};
It will never work on a different machine in a different directory.
So how can I write a policy file to solve this problem, please?
Thanks!

