title: External jars & HBase in classpath
body: <p>I'm having problem with using external jars in my file. I always get: </p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration`  
  at this line: `Configuration config = HBaseConfiguration.create();
  </code></pre>
  
  <p>And this file is on the classpath, I'm setting options when running jar:  </p>
  
  <pre><code>$ java -jar hbase.jar -classpath "/usr/lib/hbase/*:/usr/lib/hadoop/*"
  </code></pre>
  
  <p>This file compiles successfully after invoking this command:</p>
  
  <pre><code>$ javac -classpath "/usr/lib/hbase/*:/usr/lib/hadoop/*" HBaseScanner.java
  </code></pre>
  
  <p>What to do?</p>