I have a very basic .jar file that successfully runs, though I can only seem to run it by doing one of two things:
- Using the command prompt and entering a command such as
java -jar test.jar - Creating a shortcut with the path being
java -jar C:\Users\Nick\Documents\test.jar
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?
Edit: My .jar file looks like this:
Manifest-Version: 1.0 Rsrc-Class-Path: ./ Class-Path: . Rsrc-Main-Class: base.MainClass Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader I used Eclipse to create this. Should I edit the Main-Class to just be base.MainClass, and remove anything with Rsrc in it?