How do I run an executable JAR file?

How do I run an executable JAR file?
Answer
jar file on windows. One of them is using
the command prompt. Open command prompt(Run as administrator)
…
jar, follow these rules:
  1. Open a notepad.exe.
  2. Write : java -jar Example. jar.
  3. Save it with the extension . bat.
  4. Copy it to the directory which has the . jar file.
  5. Double click it to run your . jar file.
 

Tìm kiếm

Back
Top