How do I run a jar file from command line?

How do I run a jar file from command line?
Answer
Run executable JAR file
  1. Go to the command prompt and reach root folder/build/libs.
  2. Enter the command: java –jar <ExecutableJarFileName>.jar.
  3. Verify the result.
 

Tìm kiếm

Back
Top