A desktop app to help journal tough decisions, possible choices, and the consequences of those choices.
A desktop app to help journal tough decisions, possible choices, and the consequences of those choices.
File > Project Structure... > Project > Project SDK
: Set to Java 11. Click OK
.src/main/ca.ubc.cs.cpsc210/ui/App.java
so it appears in Configurations in the top right.Edit Configurations...
.VM options
:
--module-path ${JAVAFX_LIB_PATH}
--add-modules javafx.controls,javafx.fxml,javafx.graphics
--add-exports=javafx.graphics/com.sun.javafx.css=ALL-UNNAMED
Set an environment variable called JAVAFX_LIB_PATH
or replace ${JAVAFX_LIB_PATH}
with the path to your JavaFX installation.
On my Windows machine, I installed JavaFX at C:\lib\javafx-sdk-11.0.2\lib
. On my Linux machine, I installed it at /usr/share/java/
.
Build > Build Artifacts... > Clean
.