I have a java app that looks something like this
java -Dconfig.dir = ../../.. -jar blah..
how can I access this config.dir in java application at run time.I am trying to load a properties file that will be there at run time.So I want to load this in file stream