新增 JARADD JAR

將 JAR 檔案新增至資源清單。Adds a JAR file to the list of resources. 您可以使用 清單 JAR來列出新增的 JAR 檔案。The added JAR file can be listed using LIST JAR.

語法Syntax

ADD JAR file_name

參數Parameters

  • file_namefile_name

    要加入之 JAR 檔案的名稱。The name of the JAR file to be added. 它可能是在本機檔案系統或分散式檔案系統上。It could be either on a local file system or a distributed file system.

範例Examples

ADD JAR /tmp/test.jar;
ADD JAR "/path/to/some.jar";
ADD JAR '/some/other.jar';
ADD JAR "/path with space/abc.jar";