title: java.lang.NoClassDefFoundError with LWJGL
body: <p>So, I am afraid that I have to join the crowds flocking here and asking: "What's wrong with my code?"</p>
  
  <p>I've recently started coding in Java and I've had none of this error until I tried using lwjgl in a project. So, the question is: What is wrong with my JAR when I get the following:</p>
  
  <pre><code>java -cp \lib\win32\lwjgl.jar -jar Valor.jar
  Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/opengl/Display
      at bin.Disp.createWindow(Disp.java:18)
      at bin.Thread.gameLoop(Thread.java:13)
      at Main.main(Main.java:4)
  Caused by: java.lang.ClassNotFoundException: org.lwjgl.opengl.Display
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      ... 3 more
  </code></pre>
  
  <p>As is, I am extremely confused about this. I've gone through seven or eight posts here about this very problem, and another five or six on other web sites, yet none of the methods those people used seem to work for me.</p>
  
  <p>Currently, my file structure is:</p>
  
  <pre><code>Valor
    -Valor.jar
    lib
      win32
        -lwjgl.jar
        -lwjgl.dll
  </code></pre>
  
  <p>Manifest:</p>
  
  <pre><code>Manifest-Version: 1.0
  Main-Class: Main
  </code></pre>
  
  <p>I did try defining a classpath here... Didn't work. So, I'm pretty much as confused as I can possibly get. Thank you for your help.</p>
  
  <p>Edit: This error doesn't occur while running in Eclipse, only when I export and try to run it myself.</p>