Read properties file outside JAR file
So, you want to treat your .properties file on the same folder as the main/runnable jar as a file rather than as a resource of the main/runnable jar. In that case, my own solution is as follows: First thing first: your program file architecture shall be like this (assuming your main program is main.jar and … Read more