System.out.println(System.getProperty("java.io.tmpdir"));
In MS Windows the temporary directory is set by the environment variable TEMP
. In XP, the temporary directory was set per-user as Local Settings\Temp.
If you change your TEMP environment variable to C:\temp
, then you get the same when you run : -Djava.io.tmpdir=C:\temp
Không có nhận xét nào:
Đăng nhận xét