I need to get the relative file path (relative to the program executable path) from a File
object.
What's the best way to do this? File
offers only methods for the absolute path. Maybe getting execution path manually and then cut this path off from the absolute path to get a relative path?
I am on Java 7, just in case java.nio has some helping method for that.
Tahnks for any hint!