Run .jar from batch-file

batch-file, file, java

Solution

On Windows you can use the following command.

start javaw -jar JarFile.jar

By doing so, the Command Prompt Window doesn't stay open.

Problem

I have created an executable `.jar` file. How can I execute the `.jar` using a batch-file without mentioning a class path?

Original source