Put the property file on your classpath and read it as a resource.
If you need to provide external configuration (e.g., changeable by editing the text file) then use a command line parameter or system parameter (e.g., -Dconfig=/a/full/path
) to locate the file.