How do I run a jar file in Unix shell script?

Thành Nguyễn

New member
How do I run a jar file in Unix shell script?
Answer
jar file from the Linux terminal. To do this, you must have java command line tool installed to launche a Java application, and the -jar flag to execute a program encapsulated in a JAR file. When this flag is used, the specified JAR file is the source of all user classes, and other class path settings are ignored.
 

Tìm kiếm

Back
Top