title: Differences between "java -cp" and "java -jar"?
body: <p>What is the difference between running a Java application with<br><code>java -cp CLASSPATH</code> and <code>java -jar JAR_FILE_PATH</code>? Is one of them preferred to the other for running a Java application? I mean which one of these ways is more expensive for JVM (according to their machine resources usage)?</p>
  
  <p>Which one will cause JVM to spawn more threads while trying to run the application?</p>