vscode/container first approach to building/deploying javafx apps
Uses containers to build/deploy the javafx code
######vscode devcontainer based https://code.visualstudio.com/docs/remote/containers
######oraclelinux:8-slim based https://hub.docker.com/_/oraclelinux
local> docker run -i -t --rm oraclelinux:7-slim
dc> cat /etc/redhat-release
-
download javafx/javafx mods version 13 to your host from here : https://gluonhq.com/products/javafx/
-
setup env
- PATH_TO_FX = E:\javafx-sdk-13.0.2\lib
- PATH_TO_FX_MODS = E:\javafx-jmods-13.0.2
[note: this means you can run the exact same code in windows as in linux container]
-
- build in linux
- run from windows eg. https://github.com/openjfx/samples/tree/master/CommandLine/Non-modular/CLI