I have a project in Eclipse which reads and writes new files- it works with Eclipse, but when I save it to a jar it no longer works. For example:
readConfig(newFile(Settings.class.getProtectionDomain().getCodeSource().getLocation().getPath() + "chronos/Functions/config"));
Therefore, how do I load files from a outside source (assuming there is no way to do it inside a jar)?. For example, if I had my JAR in a folder with another called data- what would I type in to access the data folder?