Trying to use
System.getProperty("user.home/myfile.txt") getting NullPointerException
Using String path
String("/Users/user/myfile.txt") everything works well.
Need universal way of files location. Not everyone have the same path :)
I'm on MacOSX 10.11. java 8
Thanks