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
In order to solve this problem i used a workaround: instead of running the runnable jar i runned the main class and I added the jar to the classpath.
The command I used is the following one:
java -classpath .;MyRunnableJar.jar;prop_dir; my.package.MyClass