unable to execute .jar files "Could not find the main class"
<p>I have a strange problem. When I try to run any .jar file, I get an error message: </p>

<pre><code>---------------------------
Java Virtual Machine Launcher
---------------------------
Could not find the main class: C:\Program Files (x86)\DirBuster\DirBuster.jar.  Program will exit.
---------------------------
OK   
---------------------------
</code></pre>

<p>I have tried number of .jar files and this error is coming on all files. I have tried re-installing JAVA, running programs through cmd, but the problem still exist. 
Any would be greatly appreciated.</p>

<p>Thanks.</p>
