[jedit:plugin-bugs] #1936 build-support.xml doesn't work with modern JDKs

Alan Ezust via jEdit-devel <[email protected]> Wed, 26 Feb 2025 18:50:21 -0000
Newsgroups gmane.editors.jedit.devel
Message-ID </p/jedit/plugin-bugs/1936/6d1b7800a412c1c3e3e5502aaa9748cf318e89ae.plugin-bugs@jedit.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============6319446023880874750==
Content-Type: multipart/related; boundary="===============4592569041640880296=="

This is a multi-part message in MIME format.
--===============4592569041640880296==
Content-Type: multipart/alternative; boundary="===============7000595784580331180=="
MIME-Version: 1.0

--===============7000595784580331180==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

The main issue is this:
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



---

**[plugin-bugs:#1936] build-support.xml doesn't work with modern JDKs**

**Status:** open
**Group:** 
**Created:** Tue Feb 25, 2025 04:33 PM UTC by Alan Ezust
**Last Updated:** Wed Feb 26, 2025 03:36 PM UTC
**Owner:** nobody


Currently, I must use Java 11 to build jEdit or Plugins. 
It would be nice if more modern JDKs were supported by our build.xml scripts. 



---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/jedit/plugin-bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
--===============7000595784580331180==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><p>The main issue is this:<br/>
Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.</p>
<p>BUILD FAILED<br/>
/home/ezust/workspace/jedit/plugins/FTP/build.xml:30: The following error occurred while executing this line:<br/>
/home/ezust/workspace/jedit/build-support/plugin-build.xml:61: Unable to create javax script engine for javascript</p>
<hr/>
<p><strong><a class="alink" href="https://sourceforge.net/p/jedit/plugin-bugs/1936/">[plugin-bugs:#1936]</a> build-support.xml doesn't work with modern JDKs</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> <br/>
<strong>Created:</strong> Tue Feb 25, 2025 04:33 PM UTC by Alan Ezust<br/>
<strong>Last Updated:</strong> Wed Feb 26, 2025 03:36 PM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>Currently, I must use Java 11 to build jEdit or Plugins. <br/>
It would be nice if more modern JDKs were supported by our build.xml scripts. </p>
<hr/>
<p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/jedit/plugin-bugs/">https://sourceforge.net/p/jedit/plugin-bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/jedit/admin/plugin-bugs/options.">https://sourceforge.net/p/jedit/admin/plugin-bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>
--===============7000595784580331180==--

--===============4592569041640880296==--


--===============6319446023880874750==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============6319446023880874750==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
-----------------------------------------------
jEdit Developers' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-devel

--===============6319446023880874750==--