title: Java classpath in VS code
body: <p>In a java project I want to compile classes using Vs code.
  The project is <strong>not</strong> Gradle nor maven based.
  The compilation requires classpath (i.e. some lib jar files). </p>
  
  <p>I want to compile whichever the class I am currently working on (not all as there are 100s of classes and I do not want them to update each time). e.g. </p>
  
  <pre><code>$javac -cp c.jar HelloWorld.java
  </code></pre>
  
  <p>How can I set classpath in Vs code to accomplish this task?</p>