Execute a JAR file with a exe on Windows

Aus StudyWiki

Wechseln zu: Navigation, Suche

Instead of having a Batch file you can name this executable the same as the JAR file (without .jar) and it will execute Java with the right arguments... (JRE has to be installed on the System)

 Just rename the exe like your jar is called
 e.g. You build sample.jar, then rename the exe to sample.exe
Persönliche Werkzeuge
Seminare
Fächer Grundstudium