Hi, guys!
I created a fat jar for my game and I use JSON to save and load data.
When the app runs from Netbeans, everthing works fine.
But when I run the app from the fat jar generated, I can’t save data anymore. I still can read and load, but can’t save.
The code is inside a try/catch and I got this exception:
java.io.FileNotFoundException: data\savegame.json (The system cannot find the path specified)
The “funny” thing is that actually it can find the path, since it loads data from the same file. I’ve checked already that the files are not “Read only”.
Someone knows what is happening?