Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Reinstate instructions for running

AuthorDaveJarvis <email>
Date2021-10-02 20:31:00 GMT-0700
Commit5fb45a134d2af8c39260e904ce868291e387cfcf
Parent8574de1
Delta16 lines added, 1 line removed, 15-line increase
BUILD.md
The project is imported into the IDE.
+### Configure
+
+Before running the application, add the permissive access option as follows:
+
+1. Open **Launcher.java**.
+1. Click the arrow beside the `Launcher` class.
+1. Click **Modify Run Configuration**.
+1. Click **Modify options**.
+1. Click **Add VM options**.
+1. Set **VM options** to: `--illegal-access=permit`
+1. Click **OK**.
+
+The run settings are configured.
+
### Run
build.gradle
javafx {
- version = "17"
+ version = "16"
modules = ['javafx.controls', 'javafx.swing']
configuration = 'compileOnly'
keenwrite.sh
java \
+ --illegal-access=permit \
--add-modules javafx.swing,javafx.controls,javafx.fxml,javafx.media,javafx.web,javafx.base,javafx.graphics \
--add-opens=javafx.controls/javafx.scene.control=ALL-UNNAMED \