title: Error occurred during initialization of boot layer - Eclipse Java
body: <p>I have the following error when trying to run Java project:</p>
  
  <pre><code>Error occurred during initialization of boot layer
  java.lang.LayerInstantiationException: Package jdk.internal.jrtfs in both module java.base and module jrt.fs
  </code></pre>
  
  <p>I tried to remove JDK and JRE and install them again, but the problem is still there.</p>
  
  <p>Could someone explain how to solve this issue?</p>
  
  <p>Could system restore help?</p>