Demo application showing how to build an executable jar when developing ScalaFX app.
-
Execute the following command:
sbt assembly
-
Find a file named scalafx-executable-jar-assembly-1.0.jar the target/ folder
-
This file can be used to run the application either by double clicking or by executing
java -jar scalafx-executable-jar-assembly-1.0.jar