I'm working on a mac and I'm trying to specify the path to a file on my desktop.
I just did it like this: File file = new File("/users/desktop/sample.json");
When I tried running it I got a FileNotFoundException.
How do I correctly specify the path?
See Question&Answers more detail:os