Any implementation that relies on a filesystem path is a bad implementation and poor design.
Reference classpath items, certainly, or use some sort of property to define a filesystem path.
But certainly do not rely on a location in the filesystem where your class/jar lives to be the basis for filesystem access.
Please sign in to flag this as inappropriate.