I compiled my code into a jar file that should read some resource files stored in a local drive in windows. I am using:
InputStream inputStream = NewMain.class.getResourceAsStream("/com/companies.json");
this is working but (I think) the resource is getting compiled inside the jar file. If I delete the resource files from the drive after building the project, the jar still finds the files. So in that case, always that I want to modify/add/remove the resource files I have to build the project again? I would like to have a .jar that reads files that are stored localy in my computer. Does anybody have a suggestion what could I use?