The JAR file not open(it open with the winRAR)?
<p>Hi 
I'm working with the netbeans and I create a jar file, but it not opened with the java. When I try to open it opened with the winRAR program.
This is the MainClass code:</p>

<pre><code>public class MainClass {
    public static void main(String arg[]){
    Ludec cal=new Ludec();
           cal.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
           cal.setSize( 314, 380 ); 
           cal.setLocation(600,150);
           cal.setVisible( true ); 
    }

}
</code></pre>

<p>It run in the cmd by this command:
java -jar "C:\Users\Tofiq\Documents\NetBeansProjects\JavaApplication1\dist\JavaApplication1.jar"
but not run by clicking and its error:
<img src="http://i.stack.imgur.com/3qQuC.png" alt="alt text"></p>
