<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1936: build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/" rel="alternate"/><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/feed.atom" rel="self"/><id>https://sourceforge.net/p/jedit/plugin-bugs/1936/</id><updated>2025-02-28T02:29:21.412000Z</updated><subtitle>Recent changes to 1936: build-support.xml doesn't work with modern JDKs</subtitle><entry><title>#1936 build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/?limit=250#036d" rel="alternate"/><published>2025-02-28T02:29:21.412000Z</published><updated>2025-02-28T02:29:21.412000Z</updated><author><name>Alan Ezust</name><uri>https://sourceforge.net/u/ezust/</uri></author><id>https://sourceforge.netaae3d85555b85f3939f576e907a52fe436b8aba8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1,4 +1,4 @@&lt;/span&gt;
&lt;span class="gd"&gt;-Currently, I must use Java 11 to build jEdit or Plugins. &lt;/span&gt;
&lt;span class="gi"&gt;+Currently, I must use Java &amp;amp;lt; 15 to build plugins. &lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;It would be nice if more modern JDKs were supported by our build.xml scripts. 

&lt;span class="w"&gt; &lt;/span&gt;Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>#1936 build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/?limit=250#79a0" rel="alternate"/><published>2025-02-26T18:51:05.351000Z</published><updated>2025-02-26T18:51:05.351000Z</updated><author><name>Alan Ezust</name><uri>https://sourceforge.net/u/ezust/</uri></author><id>https://sourceforge.nete47391b212abf2c12274242ca0606ebace65f00c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1,2 +1,9 @@&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;Currently, I must use Java 11 to build jEdit or Plugins. 
&lt;span class="w"&gt; &lt;/span&gt;It would be nice if more modern JDKs were supported by our build.xml scripts. 
&lt;span class="gi"&gt;+&lt;/span&gt;
&lt;span class="gi"&gt;+Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.&lt;/span&gt;
&lt;span class="gi"&gt;+&lt;/span&gt;
&lt;span class="gi"&gt;+BUILD FAILED&lt;/span&gt;
&lt;span class="gi"&gt;+/home/ezust/workspace/jedit/plugins/FTP/build.xml:30: The following error occurred while executing this line:&lt;/span&gt;
&lt;span class="gi"&gt;+/home/ezust/workspace/jedit/build-support/plugin-build.xml:61: Unable to create javax script engine for javascript&lt;/span&gt;
&lt;span class="gi"&gt;+&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#1936 build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/?limit=250#c9ce" rel="alternate"/><published>2025-02-26T18:50:20.215000Z</published><updated>2025-02-26T18:50:20.215000Z</updated><author><name>Alan Ezust</name><uri>https://sourceforge.net/u/ezust/</uri></author><id>https://sourceforge.netcc79d38ffc37e48157cb2caf24fb577481914b2d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The main issue is this:&lt;br/&gt;
Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.&lt;/p&gt;
&lt;p&gt;BUILD FAILED&lt;br/&gt;
/home/ezust/workspace/jedit/plugins/FTP/build.xml:30: The following error occurred while executing this line:&lt;br/&gt;
/home/ezust/workspace/jedit/build-support/plugin-build.xml:61: Unable to create javax script engine for javascript&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1936 build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/?limit=25#c45f" rel="alternate"/><published>2025-02-26T15:36:15.292000Z</published><updated>2025-02-26T15:36:15.292000Z</updated><author><name>Eric Le Lay</name><uri>https://sourceforge.net/u/kerik-sf/</uri></author><id>https://sourceforge.net0aca8a68ec1ae54e2f7a586985ae45069748076a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;openjdk 15 also works, but it disappeared from ubuntu repos (tar.gz available via  &lt;a href="https://github.com/AdoptOpenJDK/openjdk15-binaries" rel="nofollow"&gt;https://github.com/AdoptOpenJDK/openjdk15-binaries&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;It would be nice to bump the version dependency to Java 21 (latest LTS) or Java 17 (previous LTS). &lt;/p&gt;
&lt;p&gt;Regarding availability in major Linux distros:&lt;br/&gt;
- both are available with RHEL 8 onwards&lt;br/&gt;
- both are available on Ubuntu Focal Fossa (20.04) onwards&lt;br/&gt;
- 21 is not available on Debian stable&lt;br/&gt;
- both are available as community packages on SEL&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Oracle support&lt;/th&gt;
&lt;th&gt;Red Hat Support&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;21&lt;/td&gt;
&lt;td&gt;September 2028&lt;/td&gt;
&lt;td&gt;December 31, 2029&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;td&gt;September 2026&lt;/td&gt;
&lt;td&gt;October 31, 2027&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Ref:&lt;br/&gt;
- &lt;a class="" href="https://www.oracle.com/fr/java/technologies/java-se-support-roadmap.html" rel="nofollow"&gt;Oracle&lt;/a&gt;&lt;br/&gt;
- &lt;a class="" href="https://access.redhat.com/articles/1299013#OpenJDK_Life_Cycle" rel="nofollow"&gt;Red Hat&lt;/a&gt;&lt;br/&gt;
- &lt;a class="" href="https://wiki.ubuntu.com/OpenJDK-Updates" rel="nofollow"&gt;Ubuntu&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/" rel="alternate"/><published>2025-02-25T16:33:54.137000Z</published><updated>2025-02-25T16:33:54.137000Z</updated><author><name>Alan Ezust</name><uri>https://sourceforge.net/u/ezust/</uri></author><id>https://sourceforge.netc7864e55b4919b7cc5cdc03a8c1c0b8886ba109b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, I must use Java 11 to build jEdit or Plugins. &lt;br/&gt;
It would be nice if more modern JDKs were supported by our build.xml scripts. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/" rel="alternate"/><published>2025-02-25T16:33:54.137000Z</published><updated>2025-02-25T16:33:54.137000Z</updated><author><name>Alan Ezust</name><uri>https://sourceforge.net/u/ezust/</uri></author><id>https://sourceforge.netf985a38a206781a7f0c13ad390d02a1d131b25b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 1936 has been modified: build-support.xml doesn't work with modern JDKs&lt;br/&gt;
Edited By: Alan Ezust (ezust)&lt;br/&gt;
Description updated:&lt;br/&gt;
--- description-old&lt;/p&gt;
&lt;p&gt;+++ description-new&lt;/p&gt;
&lt;p&gt;@@ -1,3 +1,10 @@&lt;/p&gt;
&lt;p&gt;Currently, I must use Java 11 to build jEdit or Plugins. &lt;br/&gt;
 It would be nice if more modern JDKs were supported by our build.xml scripts. &lt;br/&gt;
+&lt;br/&gt;
+Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.&lt;br/&gt;
+&lt;br/&gt;
+BUILD FAILED&lt;br/&gt;
+/home/ezust/workspace/jedit/plugins/FTP/build.xml:30: The following error occurred while executing this line:&lt;br/&gt;
+/home/ezust/workspace/jedit/build-support/plugin-build.xml:61: Unable to create javax script engine for javascript&lt;br/&gt;
+&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>build-support.xml doesn't work with modern JDKs</title><link href="https://sourceforge.net/p/jedit/plugin-bugs/1936/" rel="alternate"/><published>2025-02-25T16:33:54.137000Z</published><updated>2025-02-25T16:33:54.137000Z</updated><author><name>Alan Ezust</name><uri>https://sourceforge.net/u/ezust/</uri></author><id>https://sourceforge.net8399cac1e74cd84e24ff1f9522dd9f70af409323</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 1936 has been modified: build-support.xml doesn't work with modern JDKs&lt;br/&gt;
Edited By: Alan Ezust (ezust)&lt;br/&gt;
Description updated:&lt;br/&gt;
--- description-old&lt;/p&gt;
&lt;p&gt;+++ description-new&lt;/p&gt;
&lt;p&gt;@@ -1,4 +1,4 @@&lt;/p&gt;
&lt;p&gt;-Currently, I must use Java 11 to build jEdit or Plugins. &lt;br/&gt;
+Currently, I must use Java &amp;lt; 15 to build plugins. &lt;br/&gt;
 It would be nice if more modern JDKs were supported by our build.xml scripts. &lt;/p&gt;
&lt;p&gt;Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>