Currently, I must use Java < 15 to build plugins.
It would be nice if more modern JDKs were supported by our build.xml scripts.
Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.
BUILD FAILED
/home/ezust/workspace/jedit/plugins/FTP/build.xml:30: The following error occurred while executing this line:
/home/ezust/workspace/jedit/build-support/plugin-build.xml:61: Unable to create javax script engine for javascript
I suggest we bump minimum version to at least Java 17 or 19. Java 11 was
end of life last October.
On Tue, Feb 25, 2025, 9:33 AM Alan Ezust ezust@users.sourceforge.net
wrote:
Related
Plugin Bugs: #1936
openjdk 15 also works, but it disappeared from ubuntu repos (tar.gz available via https://github.com/AdoptOpenJDK/openjdk15-binaries)
It would be nice to bump the version dependency to Java 21 (latest LTS) or Java 17 (previous LTS).
Regarding availability in major Linux distros:
Ref:
Diff:
Diff: