is it possible to add to the classpath of a runnable jar file some properties file? I tryed these solutions solutions:
running the executable file using the
What worked for me is adding properties file in jar and put that jar in classpath in MANIFEST file (under Class-Path section).
Somehow it didn't work when I pass that same jar under -cp option. Seems it always take classpath from MANIFEST file for runnable jar.