Could not find or load main class with a Jar File
<p>I'm trying to load a jar using</p>

<pre><code>@echo off
java -jar Test.jar
pause
</code></pre>

<p>With the manifest of </p>

<pre><code>Manifest-Version: 1.0
Main-Class: classes.TestClass
</code></pre>

<p>In the Jar directory, I can clearly see a classes\TestClass file when I extract it.</p>

<p>Edit: <code>classes.TestClass</code> does have a <code>public static void main(String[] args)</code>. </p>

<p>Package Deceleration in <code>classes.TestClass</code> is <code>package classes;</code></p>

<p>But I still keep getting the error message </p>

<pre><code>Could not find or load main class classes.TestClass
</code></pre>

<p>I've been through everything I've been able to find with this problem, and none of it seems to help.</p>

<p>I've tried editing the classpath, redoing the manifest, installing the new JRE. </p>

<p>What else should I be doing? </p>
