How do I make a jar file executable in Linux?

How do I make a jar file executable in Linux?
Answer
jar . However, to make the jar file itself executable, you need to set the executable bit, as the message hints. chmod +x /path/to/your/file/myFile. jar will accomplish this.
 

Tìm kiếm

Back
Top