Skip to content

MVCE-Superstars/Javafx11-Launch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Compile

javac InventorySystem.java HomeWindowController.java -p <path/to/openjfx/lib> --add-modules=javafx.graphics,javafx.fxml,javafx.controls -d .

Package

jar -cfe inventory.jar InventorySystem  InventorySystem.class HomeWindow.fxml HomeWindowController.class

Run!

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