java "error cannot open file" jar
<p>I can't run the class or jar file it gives me the "Error cannot open file".</p>

<p>I'm using the following commands:</p>

<pre><code>javac src/*.java

jar cfe MyJar.jar src.Main src/*.class

java -jar MyJar.jar
</code></pre>

<p>Output:</p>

<pre><code>javac src/*.java
jar cfe MyJar.jar src.Main src/*.class
java -jar MyJar.jar
Error cannot open file
C^%    
</code></pre>

<p>I'm using linux/ubuntu and java:</p>

<pre><code>java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
</code></pre>

<p>Content of MANIFEST.MF:</p>

<pre><code>Manifest-Version: 1.0
Created-By: 1.6.0_24 (Sun Microsystems Inc.)
Main-Class: src.Main 
</code></pre>
