Best Answer: How Do You Deploy a Jar File in Unix?
Contents How Do You Deploy a Jar File in Linux? Show Activity on This Post. Open a Command Prompt with Ctrl + Alt + T. Go to Your “. Jar” File Directory. If...
Contents
How do you deploy a jar file in Linux?
Show activity on this post.
- Open a command prompt with CTRL + ALT + T.
- 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”
- Type the following command: java -jar jarfilename.jar.
6 февр. 2012 г.
How do I run a jar file in Unix?
There are two ways to execute the jar file:
- At the DOS or UNIX command prompt, type java -jar myResult. jar . This should work; if it doesn’t, there are two main possibilities: …
- Double-click the jar file. This will work if your system has been configured to know about jar files. If not, see below.