title: NoClassDefFoundError when using java impl of leveldb
body: <p>for those who've managed to use this java implementation of leveldb <a href="https://github.com/dain/leveldb/" rel="nofollow">https://github.com/dain/leveldb/</a></p>
  
  <p>I'm getting the following stacktrace when I try to execute the code in the readme:</p>
  
  <p>NoClassDefFoundError occurs when runing the following line:</p>
  
  <p>DB db = factory.open(new File("example"), options);</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/Lists
  at org.iq80.leveldb.impl.DbImpl.(DbImpl.java:95)
  at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:59)
  at com.test.LevelDBDain.main(LevelDBDain.java:23)
  Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists
  at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  </code></pre>
  
  <p>I confirmed that <code>new File("example")</code> returns a non-null value; same as the variable <code>options</code></p>
  
  <p>I import two jars built from the source into my library:</p>
  
  <pre><code>1.leveldb-api.jar
  2.leveldb.jar
  </code></pre>
  
  <p>I've tried this with releases 0.6, 0.7 and 0.8-SNAPSHOT and always get the same error.</p>
  
  <p>Could it be something I'm doing wrong ...or missing?</p>