Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git
docs/01-introduction.md
* ConTeXt typesetting system (can be installed automatically)
+If you have opted to download the Java version of {{app.title}}, see
+[@sec:java-archive] for installation instructions.
+
## Document structure
docs/02-installation.md
using a guided wizard or manually by following platform-specific steps.
+## Java archive
+
+For users who opt to use the Java archive directly, the application must be run
+using a version of Java Runtime Environment (JRE) **{{version.java}}** that
+bundles JavaFX. For example, use **Liberica Full JRE** from BellSoft as
+follows:
+
+1. Visit the Liberica JDK [download page](https://bell-sw.com/pages/downloads/).
+1. Select the JDK corresponding to **{{version.java}}**.
+1. Scroll down to the desired operating system.
+1. Change the target CPU architecture, if needed.
+1. Set **Package** to: `Full JRE`.
+1. Download the `.zip` or `.tar.gz` file.
+
+After downloading the JRE, install it and make sure Java can be found when
+run. On Unix systems, my preferred installation method follows:
+
+1. Edit `$HOME/.bashrc`.
+1. Add `export JAVA_HOME="/opt/jre"`.
+1. Update `PATH` to include `export PATH="$PATH:${HOME}/bin:${JAVA_HOME}/bin"`.
+1. Save the file.
+1. Install into `/opt/jre-{{version.java}}-full` and link to `/opt/jre`:
+ ``` bash
+ sudo su -
+ cd /opt
+ JAVA_DIR="jre-{{version.java}}-full"
+ mkdir "${JAVA_DIR}"
+ tar xf bellsoft-jre{{version.java}}-linux-amd64-full.tar.gz \
+ -C "${JAVA_DIR}" --strip-components=1
+ ln -sf "${JAVA_DIR}" jre
+ ```
+
+Pointing the symbolic link `/opt/jre` to `/opt/jre-{{version.java}}-full`
+enables upgrading the JRE without having to update the `.bashrc` for each
+new version.
+
## Automatic
1. Rename `localpath.bat.txt` to `localpath.bat`, if necessary.
1. Run `localpath.bat` (to set and save the `PATH` environment variable).
-
-### Java
-
-{{version.java}}
## Verification
docs/user-manual.pdf
Binary files differ
keenwrite.sh
java \
-Dprism.order=sw \
+ --enable-native-access=javafx.graphics \
--add-opens=javafx.controls/javafx.scene.control=ALL-UNNAMED \
--add-opens=javafx.controls/javafx.scene.control.skin=ALL-UNNAMED \

Adds enable-native-access to launch script

Author DaveJarvis <email>
Date 2025-09-06 13:33:51 GMT-0700
Commit 9004c8f951dde12e865c7afa8c9ba001f2ad5f9d
Parent e82e13d
Delta 40 lines added, 4 lines removed, 36-line increase