22 Ekim 2017 Pazar

javapackager komutu

Giriş
Açıklaması şöyle
The Java packaging tools provide built-in support for several formats of self-contained application packages.
The basic package is a single folder on your hard drive that includes all application resources and the JRE. The package can be redistributed as is, or you can build an installable package (for example, EXE or DMG format.)
deploy seçeneği
Şöyle yaparız.
javapackager -deploy -native -outdir OUTPUT_DIR -outfile APPLICATION_NAME 
    -srcdir PACKAGE_SRC_DIR -srcfiles APPLICATION.jar -appclass MAIN_CLASS
    -name "YourApplication" -title "SelfContained"


Hiç yorum yok:

Yorum Gönder