I am trying very hard to get the jar path of the currently running application. Simply because i have a resource folder that i would like to distribute along with the jar itself. (It couldn't work to put these resources directly *in* the jar, for it is a folder that must be listed and edited and modified by the user).
As i would like to distribute the jar, i would like to specify the path to this folder in a kind of robust manner, for example, try to say to the class: "look for where the jar is, the folder should be there".
But i couldn't find a proper way to do it. For example, if i specify
i get the path of something *inside* the jar....
Any idea how to do that nicely?
By the way, how do you manage with this kind of deployment issue?