I'm developing a desktop app in NetBeans. Currently, when I run the program from within the NetBeans environment, it uses (I think) the build folder, which does not have everything packaged in a jar file. So I can write to any of those folders that correspond to package names in my application. But what will happen when I package the whole thing in a jar file for deployment? I can't write to a file that is stored in that jar file can I? Is there a standard solution for this problem?