java - My program doesn't make directories on Windows 8 but it does on Windows 7 -
my game executes , saves wonderfully on windows 7, if folder save doesn't exist. used next code (roughly):
new file("data/saves").mkdirs();
the problem occurred when sent friend windows 8. said info folder found, , wasn't saving anything. huge problem. there compatibility problem or workaround? os?
try preceeding path string given new file(".").getcanonicalpath();
@ least, think worked me, have no acces win8-system…
java windows-8 directory save mkdirs
No comments:
Post a Comment