Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
student:java:jar [2024/01/28 14:57] bernstdhstudent:java:jar [2024/01/28 14:59] (current) bernstdh
Line 47: Line 47:
  
   - Open a command shell/terminal window.   - Open a command shell/terminal window.
-  - Change the working  directory to the directory that contains the ''%%.jar%%'' file (using the  [[https://ss64.com/|''cd'' command]])+  - Change the working  directory to the directory that contains the ''%%.jar%%'' file (using the  [[https://ss64.com/|cd command]])
   - Execute the application as follows: ''%% java -jar //filename//.jar %%''   - Execute the application as follows: ''%% java -jar //filename//.jar %%''
  
Line 54: Line 54:
 ===== Permissions and Executable .jar Files ===== ===== Permissions and Executable .jar Files =====
  
-Depending on your operating system, you may need to change the  permissions of the executable ''%%.jar%%'' file (i.e.,  provide permission to execute). In most OSs this can be done from  the command line (using ''%%chmod%%'') or from the GUI  (in a variety of different ways).+Depending on your operating system, you may need to change the  permissions of the executable ''%%.jar%%'' file (i.e.,  provide permission to execute). In most OSs this can be done from  the command line (using the  [[https://ss64.com/|chmod command]]) or from the GUI  (in a variety of different ways).
  
 ===== Associations and Executable .jar Files ===== ===== Associations and Executable .jar Files =====