title: Define simple java class, then error while writing(Permission denied)
body: <p>I just begin to learn Java, and write a simple java code to define class</p>
  
  <pre><code>import java.util.*;
  class People {
      People() {
          System.out.println("New people");
      }   
  }
  
  public class Test {
      public static void main(String[] args) {
          for(int i = 0; i &lt; 10; i++) {
              new People();
          }   
      }   
  }
  </code></pre>
  
  <p>Then I use javac to compile it, and some error happened</p>
  
  <pre><code>Test.java:3: error: error while writing People: People.class (Permission denied)
  class People {
  ^
  1 error
  </code></pre>
  
  <p>How can I solve it?</p>