The code in question is simple something along the lines of
File f = new File("Testfile.txt");
f.createFile();
the file would later be written into. This code is in an executable jar file. When it is executet via "java -jar jarname.jar" it works fine, but when it's being launched via normal doubleclick, it does not work. Nothing happens. So far this seems to be the case because the file created somehow does not actualy denote a file in the directory the jar file is in but that is just an assumption. For short: how can I create and edit a file from a runnable jar that is being run via doubleclick?
Thanks in advance