title: Java "new File()" does not create file
body: <p>This will be a really dumb question, but i can't seem to create a new file in java to save my life.</p>
  
  <p>It always throws </p>
  
  <blockquote>
    <p>java.io.FileNotFoundException: Users/username/Documents/testProject/test.txt (No such file or directory)</p>
  </blockquote>
  
  <p>I have tried like this:</p>
  
  <pre><code>File newFile = new File("Users/username/Documents/testProject/test.txt");
  </code></pre>
  
  <p>and tried this:</p>
  
  <pre><code>File newFile = new File("/Users/username/Documents/testProject/test.txt");
  </code></pre>
  
  <p>What am i doing wrong?</p>
  
  <p>Edit: apparently the issue wasn't there. I was trying to read from an empty file later on in the code, sorry folks.</p>