Confused about java properties file location
I have simple java project with structure: package com.abc: a.java b.java c.properties I have database configuration parameters configured in c.properties file. Inside a.java and b.java, I am loading properties file using: Properties p = new Properties(); InputStream in = this.getClass().getResourceAsStream("c.properties"); p.load(in); This works fine. But the main question is, once I prepare executable jar by exporting this code, properties file also gets packaged in jar file. If someone else wants to modify properties file for different database configuration, how can he do it? Do I have to