I have created an executable .jar file. How can I execute the .jar using a batch-file without mentioning a class path?
.jar
On Windows you can use the following command.
start javaw -jar JarFile.jar
By doing so, the Command Prompt Window doesn't stay open.
1.4m articles
1.4m replys
5 comments
56.9k users