A relative pathname, in contrast, must be interpreted in terms of information taken from some other pathname. By default the classes in the java.io package always resolve relative pathnames against the current user directory. This directory is named by the system property user.dir, and is typically the directory in which the Java virtual machine was invoked.
The reason I ask is because I have a .policy file that doesn't seem to want to be read in by the system. I've broken down and changed the java.policy file, which is a horrible idea, but makes it work. Neither the command line -Djava.security.policy=<argument> nor the System.setProperty("java.security.policy", <argument> method work. I haven't tried the absolute path of the file.
I guess what the question is asking is: where does the relative path start for both packaged classes and .jar files?
At the beginning of the package folders? In the same directory as the .jar? Or does it have to be in the .jar file? I can't get any of the .jar related options above to work.