How to create debian package from JavaFX 2 application on Ubuntu

Опубликовано: 30 Сентябрь 2024
на канале: Wichit Sombat
8,963
24

How to create 32-bit & 64-bit debian package from JavaFX 2 application with NetBeans 7.2

Step 1: edit nbproject → jfx-impl.xml
(i) add lines
var nativeBundles = project.getProperty("javafx.deploy.nativeBundles");
if (nativeBundles) {
deploy.setNativeBundles(nativeBundles);
}

(ii) edit nbproject → project.properties append 2 lines
javafx.disable.autoupdate=true
javafx.disable.autoupdate.notification=true
javafx.deploy.nativeBundles=all

Step 2: Building and Testing
(i) how to create 64-bit debian package.
(ii) how to create 32-bit debian package

Step 3: For Windows / Mac
There are some software requirements search for "self-contained-packaging javafx 2".
or
http://docs.oracle.com/javafx/2/deplo...

Finally share your how-to if you have time.