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!

[479 byte] By [loudkinga] at [2007-11-27 2:57:12]
# 1
Sorry, I know the answer now.I don't have to indicate the code base ...
loudkinga at 2007-7-12 3:35:31 > top of Java-index,Core,Core APIs...