User Tools

Site Tools


doc:appunti:prog:java_compile_jar_command_line

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:prog:java_compile_jar_command_line [2021/11/08 18:13] – [Where to put the required libraries] niccolodoc:appunti:prog:java_compile_jar_command_line [2021/11/08 18:16] (current) – [Running the Java program from jar file] niccolo
Line 75: Line 75:
     $(find . -type f -name '*.class')     $(find . -type f -name '*.class')
 </code> </code>
 +
 +
 +===== Running the Java program from jar file =====
 +
 +Finally we can **start the Java program** from the jar archive:
 +
 +<code>
 +java -jar /path/java-program/firmware-editor-tool.jar
 +</code>
 +
 +Into the jar archive there is the **MANIFEST.MF** file, which will indicate where to search for the required libraries, relative to the same jar archive directory.
  
doc/appunti/prog/java_compile_jar_command_line.1636391608.txt.gz · Last modified: 2021/11/08 18:13 by niccolo