title: How to start class from IntelliJ generated jar?
body: <p>So I build an artifact using intellij. When I try to run class from jar (that is in current folder named <code>cordapp.jar</code>)</p>
  
  <pre><code>java -cp "cordapp.jar" com.template.NodeDriver
  </code></pre>
  
  <p>It can not find a class.</p>
  
  <p>I extract .jar into a folder, cd into it, run: </p>
  
  <pre><code>java -cp . com.template.NodeDriver 
  </code></pre>
  
  <p>It starts as expected.</p>
  
  <p>What do I do wrong?</p>