wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes java.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 "java.policy file" Watch "java.policy file" New topic
Author

java.policy file

ravi janap
Ranch Hand

Joined: Nov 04, 2000
Posts: 389
Hi
I have two questions pertaining to java.policy file.
1) is the java.policy file needed for local mode also ( apart from network mode ). I find that I am not able to access the database if I am not using the policy file.
2) I am using the following java.policy file:
I want to avoid hardcoding the database path, Is there a way ?
Can I also use the following java.policy file instead of one above.

Thanks
Ravi


SCJP, SCJD, SCWCD, SCBCD, SCEA
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

is the java.policy file needed for local mode also ( apart from network mode ).

You don't need it for either local or remote mode. Here are some other things that you don't need.
Eugene.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.policy file
 
Similar Threads
RAD - WAS6 Admin Console -Error page exception
security permission for webapp
Applet permissions trouble
createLoginContext.Userpass : access denied
AccessControlException