title: Getting a java.lang.ClassNotFoundException even though i've specified the correct jar with -cp
body: <p>java.lang.ClassNotFoundException: com.hazelcast.core.Hazelcast</p>
  
  <p>This bit is strange though, because i've added hazelcast-1.8.5.jar to the classpath when i'm running java:</p>
  
  <pre><code>java -cp hazelcast-1.8.5.jar -jar myapp.jar
  </code></pre>
  
  <p>So i cannot understand why i'm getting the ClassNotFoundException, when the hazelcast jar is well and truly present, and specified in the command line. Any ideas please?</p>
  
  <p>By the way, hazelcast is pretty fricking sweet!</p>