Mar

18

By leadiv

No Comments

Categories: Coding and Projects

Tags:

Java System Property Files

The pass few days I have been trying to figure out how to work with property files. A project I am working with uses Java DB and I want to have a property file that customizes where the database is located. Finding and loading the file has proven a bit difficult because I am trying to call the property file from the static main function of my program. So I can’t use the usual static functions to call the resource file in a physical independent way. I am hoping that encapslating it in a class might solve my problem.

Comment Feed

No Responses (yet)



Some HTML is OK

or, reply to this post via trackback.