title: How can an executable .jar file be run without the command prompt?
body: <p>I have a very basic .jar file that successfully runs, though I can only seem to run it by doing one of two things:</p>
  
  <ol>
  <li>Using the command prompt and entering a command such as <code>java -jar test.jar</code></li>
  <li>Creating a shortcut with the path being <code>java -jar C:\Users\Nick\Documents\test.jar</code></li>
  </ol>
  
  <p>Is there a way to run a .jar file without having to do either of these two things, IE a way to run it from within Windows Explorer?</p>
  
  <p>Edit:
  My .jar file looks like this:</p>
  
  <pre><code>Manifest-Version: 1.0
  Rsrc-Class-Path: ./
  Class-Path: .
  Rsrc-Main-Class: base.MainClass
  Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader
  </code></pre>
  
  <p>I used Eclipse to create this. Should I edit the Main-Class to just be base.MainClass, and remove anything with Rsrc in it?</p>