javac InventorySystem.java HomeWindowController.java -p <path/to/openjfx/lib> --add-modules=javafx.graphics,javafx.fxml,javafx.controls -d .
jar -cfe inventory.jar InventorySystem InventorySystem.class HomeWindow.fxml HomeWindowController.class
java -p <path/to/openjfx/lib> --add-modules=javafx.graphics,javafx.fxml,javafx.controls -jar inventory.jar
Replace <path/to/openjfx/lib>
with the path to the lib folder in the openjfx runtime you downloaded