linux 創建jar包,並用shell腳本調用jar包

1.編寫java文件,並將其轉換爲.class文件 .java文件中的內容 2.編寫Manifest.mf文件 Manifest.mf 的作用是將class轉化爲jar 開設權限 4.將將class轉化爲jar 語句:jar cvfm text.jar Manifest.mf text.class 5.編寫shell文件 6.保存退出,並執行 完成
相關文章
相關標籤/搜索