Where (which properties file) does System.getProperty("key") reads from?

My application uses String str = System.getProperty("key","default"); which always returns default because i am not able to set the key-value pair in the properties file. I tried setting it in