mac user.home code example
Example 1: user.home linux
System.getProperty("user.home")
Example 2: java user home directory macos
String homeDir = System.getProperty("user.home");
System.getProperty("user.home")
String homeDir = System.getProperty("user.home");