title: Execute java class in zip by command line
body: <p>If I create a jar file hello.jar then execute Hello class in hello.jar as follows, </p>
  
  <pre><code>java -cp hello.jar Hello
  </code></pre>
  
  <p>it works properly and execute main method of Hello class in jar file.</p>
  
  <p>But if I create a zip file hello.zip then execute Hello class in hello.zip as follows,</p>
  
  <pre><code>java -cp hello.zip Hello
  </code></pre>
  
  <p>I got <strong>java.lang.ClassNotFoundException</strong> Exception.</p>
  
  <p>How can I execute java class in zip file by command line ?</p>