Download required dependencies into "Library" folder.
Include fonts with JRE.
I'm using Java version 20 built using jlink:
--compress 0 --strip-debug --no-header-files --no-man-pages --add-modules java.base,java.datatransfer,java.desktop,java.logging,java.security.sasl,java.xml,jdk.crypto.ec --output JRE
https://www.shutterencoder.com