ClassNotFoundException Java Issue
<p>I wrote Test.java to test out a database connection.</p>

<p>I compiled using successfully using "javac Test.java."</p>

<p>But, I can't run my program using "java -cp ..." </p>

<pre><code>&gt;AssetMgmtDbTest me$ pwd
/Users/me/Workspace/tmp/AssetMgmtDbTest
&gt;AssetMgmtDbTest me$ ls
Test.class  Test.java   classes12.jar   ojdbc6.jar
&gt;AssetMgmtDbTest me$ java -cp ojdbc6.jar Test
Exception in thread "main" java.lang.NoClassDefFoundError: Test
Caused by: java.lang.ClassNotFoundException: Test
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
</code></pre>

<p>Please advise.</p>

<p>Thanks,
Kevin</p>
