dimanche 3 juillet 2016

.bin files are not found when this is exported

I am working on a game and it works fine in eclipse but when i export it it has an error with a serialized file here is what it says : java.io.FileNotFoundException: resdatabinscreen.bin (The system cannot find the path specified) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at com.mastergamez.rs.serialization.RCDatabase.serializeToFile(RCDatabase.java:123) at com.mastergamez.rc.Game.save(Game.java:135) at com.mastergamez.rc.Game.<init>(Game.java:103) at com.mastergamez.rc.Game.main(Game.java:306) It is looking for a folder called "res" which when i export the game does not exist, only the contents inside do since in eclipse its in this: https://gyazo.com/fc9c11919970fb9d41ddb15f64b14ac8 but the thing is i dont know what path to put, i have tried /data/screen.bin data/screen.bin /./data/screen.bin but nothing works. Any help is appreciated, thank you

Aucun commentaire:

Enregistrer un commentaire