title: VSCode Unbound classpath container JRE System Library [JavaSE-15]
body: <p>I have been programming a java project using JDK14 and VSCode. Recently JDK15 is available, and I switched to the JDK. As for configuration, I pointed the VScode <code>java.home</code> and system <code>JAVA_HOME</code> to the new JDK folder.</p>
  <p>When I clear the VSCode cache and restart the IDE, I started receiving this error</p>
  <pre><code>{
  &quot;resource&quot;: &quot;/E:/dev/java/challenges/&quot;,
  &quot;owner&quot;: &quot;_generated_diagnostic_collection_name_#3&quot;,
  &quot;code&quot;: &quot;963&quot;,
  &quot;severity&quot;: 8,
  &quot;message&quot;: &quot;Unbound classpath container: 'JRE System Library [JavaSE-15]' in project 'challenges'&quot;,
  &quot;source&quot;: &quot;Java&quot;,
  &quot;startLineNumber&quot;: 1,
  &quot;startColumn&quot;: 1,
  &quot;endLineNumber&quot;: 1,
  &quot;endColumn&quot;: 1
  } 
  </code></pre>
  <p>I have seen similar questions/answers, but none of them was directed to VSCode.</p>
  <p><a href="https://i.stack.imgur.com/X9Qf5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X9Qf5.png" alt="Screen shot on the error" /></a></p>