Hello folks!
The options below assume that this entire topic was read, there is an understanding of what needs to be done for JavaFX to run under Windows, you have a level of proficiency in creating the necessary file structures and using the command-line.
Both of these options appear to work for JavaFX demos in previous post.
Options for using JavaFX with Windows are to create reusable template sketches:
-
Create a sketch with all the required modules (JAR files) in the code folder.
-
Create a sketch with symbolic links to all the required modules (JAR files) in the library
This is an advanced topic and will not be discussed in detail here.
Do a bit of research before asking questions.
This is my code folder with symbolic links:
I may consider adding this in the future:
D:\Users\GLV\Documents\P4\libraries\javafx\library\javafx.jar
Advanced Users Only! < Click here to open!
My batch file for creating mlinks from the command prompt in the code folder:
mklink javafx.base.jar D:\Users\GLV\Documents\P4\libraries\javafx\library\windows-amd64\modules\javafx.base.jar
mklink javafx.controls.jar D:\Users\GLV\Documents\P4\libraries\javafx\library\windows-amd64\modules\javafx.controls.jar
mklink javafx.graphics.jar D:\Users\GLV\Documents\P4\libraries\javafx\library\windows-amd64\modules\javafx.graphics.jar
mklink javafx.media.jar D:\Users\GLV\Documents\P4\libraries\javafx\library\windows-amd64\modules\javafx.media.jar
mklink javafx.swing.jar D:\Users\GLV\Documents\P4\libraries\javafx\library\windows-amd64\modules\javafx.swing.jar
mklink javafx.web.jar D:\Users\GLV\Documents\P4\libraries\javafx\library\windows-amd64\modules\javafx.web.jar
mklink javafx.fxml.jar D:\Users\GLV\Documents\P4\libraries\javafx\library\windows-amd64\modules\javafx.fxml.jar
Directory listing:
You will have to make the necessary changes to reflect your file locations!
:)

