Then you will compile the classes and build an executable JAR file.
然后,您将编译类并构建可执行的 JAR 文件。
We will package the application in the form of an executable JAR file.
我们将以可执行的 JAR 文件的形式打包应用程序。
If you want to run an executable JAR file, use the -jar option of the command.
如果要运行可执行的 JAR 文件,请在该命令中使用 -jar 选项。
Creating an Executable Jar
创建一个可执行的Jar
On most systems, you can execute an executable JAR file by simply double-clicking the JAR file.
在大多数系统上,您只需双击 JAR 文件即可执行可执行的 JAR 文件。
Create an Executable JAR with Maven
使用 Maven 创建一个可执行的 JAR
Extract Specific Libraries When an Executable Jar Runs
当可执行的Jar运行时提取特定的库
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.