I'm writing a Java program that has to create a folder on the disk, store some file in it, and when the program is terminated, the folder is deleted:
The problem is that, when my program is opened on a random pc, how should it know where to store files?
I saw a lot of installers that already suggest you a path (like "Program Files", "Roaming" etc), how can I make my program know these paths? Thanks.