title: eclipse error new to code please
body: <p>so I coded a little thing to try and I don't know why eclipse isn't running my code. Please help I'm new to coding. Error occurred during </p>
  
  <pre><code>import java.util.GregorianCalendar;
  import java.util.Scanner;
  
  public class Calendar {
  
      public static void main(String []args) {
  
          GregorianCalendar cal1 = new GregorianCalendar();
          Scanner input = new Scanner(System.in);
          System.out.println("Please enter your hire year (yyyy):  ");
          int hireYear = input.nextInt();
          int currYear = cal1.get(GregorianCalendar.YEAR);
          System.out.println("He's worked here for " + (currYear - hireYear) + "years!");     
      }
  }
  </code></pre>
  
  <p>initialization of boot layer
  java.lang.LayerInstantiationException: Package jdk.internal.jimage.decompressor in both module java.base and module jrt.fs</p>