makejre is a project that contains scripts for creating a Java Runtime Environment (JRE) from specified modules of Java SE, the Java Development Kit (JDK) and JavaFX. There is a Bash script for Linux and a PowerShell 7 script for Windows.
The makejre scripts may be used under the terms of the MIT License.