I know how to create a new folder if it is not already present in Java.
File directory = new File("path");
directory.mkdir();
Do all developers use the Program Files
location to create folders for their apps to store data? Is that path always the same for every user who uses the app? How do Java developers adjust for the difference in Mac users file paths?
I'm also wondering if System.getProperty("user.home");
is the common way of navigating a system to create file paths?