This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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.
 
Have you checked out Aspose?
 
subject: java.policy file
 
It's not a secret anymore!