I want to load a jar file dynamically however before it is loaded I'd like to read a properties file in its root. Is there a way to read the properties file from within the jar with out loading the jar?
I tried this but then realized this is something I do after the jar is loaded.
InputStream inputStream = this.getClass().getClassLoader()
.getResourceAsStream("jdscfg.properties");
Do I need to look into treating the file as a zip and extracting the file?