Can java source file automatically read policy file?
Hello, all.
Now I am able to run my application in this way
java -Djava.security.policy=server.policy myRMIserver
But I hate this, I just wonder if the source file of myRMIserver.java can read the policy file all by itself, so that I can run my application in this way
java myRMIserver
Is it possible to do this?
Yet another question.
I can run my application on my own machine (Ubuntu Linux), but when I tried to do that on a server machine (Red Hat Linux), I can not bind my service to the socket. The operating system complains that
Access denied,
Naming.rebind(url, service);
I just wonder if there is more things to do or my account simply do not have enough previlidge on the server ...

