How do I run an executable jar file in Linux?

How do I run an executable jar file in Linux?
Answer
Show activity on this post.
  1. Open a command prompt with CTRL + ALT + T.
  2. Go to your “.jar” file directory. If your Ubuntu version / flavour supports it, you should be able to right click on your “.jar” file’s directory and click “Open in Terminal”
  3. Type the following command: java -jar jarfilename.jar.
6 февр. 2012 г.
 

Tìm kiếm

Back
Top