Working directory for a Java program?
807605Jun 18 2007 — edited Jun 19 2007I have a Swing app which uses a text file for saving/loading configuration options.
I can load/save just fine when I launch the program from the IDE -- but when I copy the JAR file (in the DIST folder) to a given location and run it there, it seems to be using some strange directory -- certainly not the folder the .JAR is residing in.
Any ideas?
Matthew