I am creating a electricity simulator (not to be uploaded) and I made it so it can write and read to file (so it can save the current circuit for when you next load up the program). Once I got this working I exported it to a .jar file for testing, and in that form it will not read/write to the files. I can see the files in the jar file when I open it with an archive program, however, they do not seem to be changing. I'm not sure if the code is necessary, if you need it just ask.