Nashorn
I keep getting this warning: Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release I understand the Nashorn engine has to do with Javascript which I’m not using. This is the only project I’ve created using module-info.java. Could this be the reason Why? Is NetBeans using JavaScript for something? Best Regards, Michael
Re: Nashorn?
I can only reproduce something like this if I don't have a clean userdir and cachedir. I'd recommend you remove all userdirs and cachedirs. Gj On Thu, Dec 27, 2018 at 9:49 PM John Lavelle wrote: > OK. Here we go: > > The tests are all on indentical, cloned, Linux Mint VMs. SysInfo file > attached > > *java -version* > openjdk version "11.0.1" 2018-10-16 > OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-3ubuntu118.04ppa1) > OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-3ubuntu118.04ppa1, mixed > mode, sharing) > > *Installing with NetBeans 9.0 already installed.* > >- No "Import previous Options" dialog >- We get the Warning message. Click on Continue Installing and >NetBeans installs. >- All previous settings Imported even though there was no dialog!! >- Go to Tools>Plugins>Available Plugins and install the Oracle >Javascript Parser implementation >- Go to Tools>Plugins>Installed and Activate the non-active plugins >- Go to Tools>Plugins>Updates and update. >- Restart and everything is OK. > > > *Installing with NetBeans 10.VC5 already installed and with** the > com.oracle.js.parser.implementation > plugin installed.* > >- "Import Previous Dialog" message clicked on yes. >- No warning Message >- Go to Tools>Plugins>Available Plugins and install the Oracle >Javascript Parser implementation >- Go to Tools>Plugins>Installed and Activate the non-active plugins >- Go to Tools>Plugins>Updates and update. >- Restart and everything is OK. > > > *Completely clean NetBeans 10 install* > >- No "Import previous Options" dialog (fairly obvious!! included for >completeness) >- No warning Message >- The Menu bar is extremely limited >- Menu Tools only has 2 options Plugins and Options - There are NO >other options >- Go to Tools>Plugins>Available Plugins and there are two available >- nb-javac Library > - Oracle Javascript Parser implementation > - *Installed BOTH*. >- Go to Tools>Plugins>Installed and there are NO active plugins! >Activated all the plugins >- Go to Tools>Plugins>Updates - none. >- Restart and everything is OK. The Menu Bar is back to normal. Also >Tools Menu showing the complete set of Options. > > > Your mileage may vary... > > I hope that helps. > > Best regards, > John > > > On Thu, 27 Dec 2018 at 19:48, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> I’d recommend we all take a look at this before you promote this via >> YouTube. >> >> Gj >> >> On Thursday, December 27, 2018, John Lavelle wrote: >> >>> I was using a fresh directory each time. It seems you've got to accept >>> the error then install the Plugin via Tools>Plugins >>> >>> Best regards, >>> John >>> >>> >>> >>> On Thu, 27 Dec 2018 at 19:16, Geertjan Wielenga < >>> geertjan.wiele...@googlemail.com> wrote: >>> >>>> Make sure you’re using a fresh new user directory. >>>> >>>> Gj >>>> >>>> >>>> On Thursday, December 27, 2018, John Lavelle wrote: >>>> >>>>> Although the JDK8 fix I mentioned in an earlier post works on Windows. >>>>> I can't get it to work on Linux (Mint/Ubuntu). >>>>> >>>>> I've tried using the Oracle versions *and* the OpenJDK versions of: >>>>> >>>>> JDK8 >>>>> JDK11 >>>>> JRE8 >>>>> JRE11 >>>>> >>>>> and I'm still getting the same error: >>>>> >>>>> Warning - could not install some modules: Nashorn Integration - No >>>>> module providing the capability com.oracle.js.parser.implementation could >>>>> be found. 19 further modules could not be installed due to the above >>>>> problems. >>>>> >>>>> Thoughts please... >>>>> >>>>> Best regards, >>>>> John >>>>> >>>>> >>>>> On Thu, 27 Dec 2018 at 17:57, Carl Mosca wrote: >>>>> >>>>>> Ah, sorry, still running the Oracle Java...need to spend more time >>>>>> with the OpenJDK.. >>>>>> >>>>>> On Thu, Dec 27, 2018 at 11:54 AM Steve Jacobs < >>>>>> st...@appalachianmail.com> wrote: >>>>>> >>>>&g
Re: Nashorn?
OK. Here we go: The tests are all on indentical, cloned, Linux Mint VMs. SysInfo file attached *java -version* openjdk version "11.0.1" 2018-10-16 OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-3ubuntu118.04ppa1) OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-3ubuntu118.04ppa1, mixed mode, sharing) *Installing with NetBeans 9.0 already installed.* - No "Import previous Options" dialog - We get the Warning message. Click on Continue Installing and NetBeans installs. - All previous settings Imported even though there was no dialog!! - Go to Tools>Plugins>Available Plugins and install the Oracle Javascript Parser implementation - Go to Tools>Plugins>Installed and Activate the non-active plugins - Go to Tools>Plugins>Updates and update. - Restart and everything is OK. *Installing with NetBeans 10.VC5 already installed and with** the com.oracle.js.parser.implementation plugin installed.* - "Import Previous Dialog" message clicked on yes. - No warning Message - Go to Tools>Plugins>Available Plugins and install the Oracle Javascript Parser implementation - Go to Tools>Plugins>Installed and Activate the non-active plugins - Go to Tools>Plugins>Updates and update. - Restart and everything is OK. *Completely clean NetBeans 10 install* - No "Import previous Options" dialog (fairly obvious!! included for completeness) - No warning Message - The Menu bar is extremely limited - Menu Tools only has 2 options Plugins and Options - There are NO other options - Go to Tools>Plugins>Available Plugins and there are two available - nb-javac Library - Oracle Javascript Parser implementation - *Installed BOTH*. - Go to Tools>Plugins>Installed and there are NO active plugins! Activated all the plugins - Go to Tools>Plugins>Updates - none. - Restart and everything is OK. The Menu Bar is back to normal. Also Tools Menu showing the complete set of Options. Your mileage may vary... I hope that helps. Best regards, John On Thu, 27 Dec 2018 at 19:48, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > I’d recommend we all take a look at this before you promote this via > YouTube. > > Gj > > On Thursday, December 27, 2018, John Lavelle wrote: > >> I was using a fresh directory each time. It seems you've got to accept >> the error then install the Plugin via Tools>Plugins >> >> Best regards, >> John >> >> >> >> On Thu, 27 Dec 2018 at 19:16, Geertjan Wielenga < >> geertjan.wiele...@googlemail.com> wrote: >> >>> Make sure you’re using a fresh new user directory. >>> >>> Gj >>> >>> >>> On Thursday, December 27, 2018, John Lavelle wrote: >>> >>>> Although the JDK8 fix I mentioned in an earlier post works on Windows. >>>> I can't get it to work on Linux (Mint/Ubuntu). >>>> >>>> I've tried using the Oracle versions *and* the OpenJDK versions of: >>>> >>>> JDK8 >>>> JDK11 >>>> JRE8 >>>> JRE11 >>>> >>>> and I'm still getting the same error: >>>> >>>> Warning - could not install some modules: Nashorn Integration - No >>>> module providing the capability com.oracle.js.parser.implementation could >>>> be found. 19 further modules could not be installed due to the above >>>> problems. >>>> >>>> Thoughts please... >>>> >>>> Best regards, >>>> John >>>> >>>> >>>> On Thu, 27 Dec 2018 at 17:57, Carl Mosca wrote: >>>> >>>>> Ah, sorry, still running the Oracle Java...need to spend more time >>>>> with the OpenJDK.. >>>>> >>>>> On Thu, Dec 27, 2018 at 11:54 AM Steve Jacobs < >>>>> st...@appalachianmail.com> wrote: >>>>> >>>>>> Thanks for the reply, but I am using openjdk 8. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Steve >>>>>> >>>>>> On Thu, 27 Dec 2018 11:35:28 -0500 >>>>>> Carl Mosca wrote: >>>>>> >>>>>> > I believe Nashorn was deprecated as of Java 11? >>>>>> > https://openjdk.java.net/jeps/335 >>>>>> > >>>>>> > Might try running with an earlier release of Java if you're using >>>>>> Java 11. >>>>>> > >>>>>> > HTH, >>>>>> > Carl >>>>>> >
Re: Nashorn?
OK. I'm running some tests now. I'll report back when I've finished. The tests are (all on Linux Mint VMs): Updating from NetBeans 10.VC5 with the com.oracle.js.parser.implementation plugin *not* installed. Updating from NetBeans 10.VC5 with the com.oracle.js.parser.implementation plugin installed. Completely clean NetBeans 10 install Best regards, John On Thu, 27 Dec 2018 at 19:48, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > I’d recommend we all take a look at this before you promote this via > YouTube. > > Gj > > On Thursday, December 27, 2018, John Lavelle wrote: > >> I was using a fresh directory each time. It seems you've got to accept >> the error then install the Plugin via Tools>Plugins >> >> Best regards, >> John >> >> >> >> On Thu, 27 Dec 2018 at 19:16, Geertjan Wielenga < >> geertjan.wiele...@googlemail.com> wrote: >> >>> Make sure you’re using a fresh new user directory. >>> >>> Gj >>> >>> >>> On Thursday, December 27, 2018, John Lavelle wrote: >>> >>>> Although the JDK8 fix I mentioned in an earlier post works on Windows. >>>> I can't get it to work on Linux (Mint/Ubuntu). >>>> >>>> I've tried using the Oracle versions *and* the OpenJDK versions of: >>>> >>>> JDK8 >>>> JDK11 >>>> JRE8 >>>> JRE11 >>>> >>>> and I'm still getting the same error: >>>> >>>> Warning - could not install some modules: Nashorn Integration - No >>>> module providing the capability com.oracle.js.parser.implementation could >>>> be found. 19 further modules could not be installed due to the above >>>> problems. >>>> >>>> Thoughts please... >>>> >>>> Best regards, >>>> John >>>> >>>> >>>> On Thu, 27 Dec 2018 at 17:57, Carl Mosca wrote: >>>> >>>>> Ah, sorry, still running the Oracle Java...need to spend more time >>>>> with the OpenJDK.. >>>>> >>>>> On Thu, Dec 27, 2018 at 11:54 AM Steve Jacobs < >>>>> st...@appalachianmail.com> wrote: >>>>> >>>>>> Thanks for the reply, but I am using openjdk 8. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Steve >>>>>> >>>>>> On Thu, 27 Dec 2018 11:35:28 -0500 >>>>>> Carl Mosca wrote: >>>>>> >>>>>> > I believe Nashorn was deprecated as of Java 11? >>>>>> > https://openjdk.java.net/jeps/335 >>>>>> > >>>>>> > Might try running with an earlier release of Java if you're using >>>>>> Java 11. >>>>>> > >>>>>> > HTH, >>>>>> > Carl >>>>>> > >>>>>> > On Thu, Dec 27, 2018 at 11:24 AM Steve Jacobs < >>>>>> st...@appalachianmail.com> >>>>>> > wrote: >>>>>> > >>>>>> > > Hello, >>>>>> > > >>>>>> > > Warning - could not install some modules: Nashorn Integration - No >>>>>> > > module providing the capability >>>>>> com.oracle.js.parser.implementation >>>>>> > > could be found. 19 further modules could not be installed due to >>>>>> the >>>>>> > > above problems. >>>>>> >>>>>> - >>>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>>>>> For additional commands, e-mail: users-h...@netbeans.apache.org >>>>>> >>>>>> For further information about the NetBeans mailing lists, visit: >>>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>>>>> >>>>>> >>>>> >>>>> -- >>>>> Carl J. Mosca >>>>> >>>>
Re: Nashorn?
I’d recommend we all take a look at this before you promote this via YouTube. Gj On Thursday, December 27, 2018, John Lavelle wrote: > I was using a fresh directory each time. It seems you've got to accept the > error then install the Plugin via Tools>Plugins > > Best regards, > John > > > > On Thu, 27 Dec 2018 at 19:16, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> Make sure you’re using a fresh new user directory. >> >> Gj >> >> >> On Thursday, December 27, 2018, John Lavelle wrote: >> >>> Although the JDK8 fix I mentioned in an earlier post works on Windows. I >>> can't get it to work on Linux (Mint/Ubuntu). >>> >>> I've tried using the Oracle versions *and* the OpenJDK versions of: >>> >>> JDK8 >>> JDK11 >>> JRE8 >>> JRE11 >>> >>> and I'm still getting the same error: >>> >>> Warning - could not install some modules: Nashorn Integration - No >>> module providing the capability com.oracle.js.parser.implementation >>> could be found. 19 further modules could not be installed due to the above >>> problems. >>> >>> Thoughts please... >>> >>> Best regards, >>> John >>> >>> >>> On Thu, 27 Dec 2018 at 17:57, Carl Mosca wrote: >>> >>>> Ah, sorry, still running the Oracle Java...need to spend more time with >>>> the OpenJDK.. >>>> >>>> On Thu, Dec 27, 2018 at 11:54 AM Steve Jacobs < >>>> st...@appalachianmail.com> wrote: >>>> >>>>> Thanks for the reply, but I am using openjdk 8. >>>>> >>>>> Regards, >>>>> >>>>> Steve >>>>> >>>>> On Thu, 27 Dec 2018 11:35:28 -0500 >>>>> Carl Mosca wrote: >>>>> >>>>> > I believe Nashorn was deprecated as of Java 11? >>>>> > https://openjdk.java.net/jeps/335 >>>>> > >>>>> > Might try running with an earlier release of Java if you're using >>>>> Java 11. >>>>> > >>>>> > HTH, >>>>> > Carl >>>>> > >>>>> > On Thu, Dec 27, 2018 at 11:24 AM Steve Jacobs < >>>>> st...@appalachianmail.com> >>>>> > wrote: >>>>> > >>>>> > > Hello, >>>>> > > >>>>> > > Warning - could not install some modules: Nashorn Integration - No >>>>> > > module providing the capability com.oracle.js.parser. >>>>> implementation >>>>> > > could be found. 19 further modules could not be installed due to >>>>> the >>>>> > > above problems. >>>>> >>>>> - >>>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>>>> For additional commands, e-mail: users-h...@netbeans.apache.org >>>>> >>>>> For further information about the NetBeans mailing lists, visit: >>>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>>>> >>>>> >>>> >>>> -- >>>> Carl J. Mosca >>>> >>>
Re: Nashorn?
OK, I think I've sussed it on Linux. When you get the Warning Message, ignore it and continue the installation (*don't click Exit*). Once Installed, go to "Tools>Plugins>Available Plugins" and you should see the "Oracle Javascript Parser implementation." available there. Select it and click install. I'm just doing a video about it which should be ready in a couple of hours - about 21.00 GMT/UTC ( https://www.youtube.com/channel/UCTz9lzhAchoI96nnt0Ick1Q). Best regards, John On Thu, 27 Dec 2018 at 17:57, Carl Mosca wrote: > Ah, sorry, still running the Oracle Java...need to spend more time with > the OpenJDK.. > > On Thu, Dec 27, 2018 at 11:54 AM Steve Jacobs > wrote: > >> Thanks for the reply, but I am using openjdk 8. >> >> Regards, >> >> Steve >> >> On Thu, 27 Dec 2018 11:35:28 -0500 >> Carl Mosca wrote: >> >> > I believe Nashorn was deprecated as of Java 11? >> > https://openjdk.java.net/jeps/335 >> > >> > Might try running with an earlier release of Java if you're using Java >> 11. >> > >> > HTH, >> > Carl >> > >> > On Thu, Dec 27, 2018 at 11:24 AM Steve Jacobs < >> st...@appalachianmail.com> >> > wrote: >> > >> > > Hello, >> > > >> > > Warning - could not install some modules: Nashorn Integration - No >> > > module providing the capability com.oracle.js.parser.implementation >> > > could be found. 19 further modules could not be installed due to the >> > > above problems. >> >> - >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >> For additional commands, e-mail: users-h...@netbeans.apache.org >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >> > > -- > Carl J. Mosca >
Re: Nashorn?
Make sure you’re using a fresh new user directory. Gj On Thursday, December 27, 2018, John Lavelle wrote: > Although the JDK8 fix I mentioned in an earlier post works on Windows. I > can't get it to work on Linux (Mint/Ubuntu). > > I've tried using the Oracle versions *and* the OpenJDK versions of: > > JDK8 > JDK11 > JRE8 > JRE11 > > and I'm still getting the same error: > > Warning - could not install some modules: Nashorn Integration - No module > providing the capability com.oracle.js.parser.implementation could be > found. 19 further modules could not be installed due to the above problems > . > > Thoughts please... > > Best regards, > John > > > On Thu, 27 Dec 2018 at 17:57, Carl Mosca wrote: > >> Ah, sorry, still running the Oracle Java...need to spend more time with >> the OpenJDK.. >> >> On Thu, Dec 27, 2018 at 11:54 AM Steve Jacobs >> wrote: >> >>> Thanks for the reply, but I am using openjdk 8. >>> >>> Regards, >>> >>> Steve >>> >>> On Thu, 27 Dec 2018 11:35:28 -0500 >>> Carl Mosca wrote: >>> >>> > I believe Nashorn was deprecated as of Java 11? >>> > https://openjdk.java.net/jeps/335 >>> > >>> > Might try running with an earlier release of Java if you're using Java >>> 11. >>> > >>> > HTH, >>> > Carl >>> > >>> > On Thu, Dec 27, 2018 at 11:24 AM Steve Jacobs < >>> st...@appalachianmail.com> >>> > wrote: >>> > >>> > > Hello, >>> > > >>> > > Warning - could not install some modules: Nashorn Integration - No >>> > > module providing the capability com.oracle.js.parser.implementation >>> > > could be found. 19 further modules could not be installed due to the >>> > > above problems. >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >>> For additional commands, e-mail: users-h...@netbeans.apache.org >>> >>> For further information about the NetBeans mailing lists, visit: >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>> >>> >> >> -- >> Carl J. Mosca >> >
Re: Nashorn?
Ah, sorry, still running the Oracle Java...need to spend more time with the OpenJDK.. On Thu, Dec 27, 2018 at 11:54 AM Steve Jacobs wrote: > Thanks for the reply, but I am using openjdk 8. > > Regards, > > Steve > > On Thu, 27 Dec 2018 11:35:28 -0500 > Carl Mosca wrote: > > > I believe Nashorn was deprecated as of Java 11? > > https://openjdk.java.net/jeps/335 > > > > Might try running with an earlier release of Java if you're using Java > 11. > > > > HTH, > > Carl > > > > On Thu, Dec 27, 2018 at 11:24 AM Steve Jacobs > > > wrote: > > > > > Hello, > > > > > > Warning - could not install some modules: Nashorn Integration - No > > > module providing the capability com.oracle.js.parser.implementation > > > could be found. 19 further modules could not be installed due to the > > > above problems. > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > -- Carl J. Mosca
Re: Nashorn?
You are supposed to click on some button which will download from the plugin portal the Oracle JS parser. (Some modules depend on it but for licensing reasons Apache could not redistribute it). --emi http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more! On Thu, Dec 27, 2018 at 6:24 PM Steve Jacobs wrote: > > Hello, > > I've been using Netbeans candidates (vc4 currently) which is a joy to work > with. This morning I download Netbeans 10 final. On firing it up I get this: > > Warning - could not install some modules: Nashorn Integration - No module > providing the capability com.oracle.js.parser.implementation could be > found. 19 further modules could not be installed due to the above problems. > > Not being a Java guy, I'd never heard of Nashorn until this happened. > Anybody know what this means and how to fix it? > > Thanks in advance, > > Steve > > - > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Nashorn?
Thanks for the reply, but I am using openjdk 8. Regards, Steve On Thu, 27 Dec 2018 11:35:28 -0500 Carl Mosca wrote: > I believe Nashorn was deprecated as of Java 11? > https://openjdk.java.net/jeps/335 > > Might try running with an earlier release of Java if you're using Java 11. > > HTH, > Carl > > On Thu, Dec 27, 2018 at 11:24 AM Steve Jacobs > wrote: > > > Hello, > > > > Warning - could not install some modules: Nashorn Integration - No > > module providing the capability com.oracle.js.parser.implementation > > could be found. 19 further modules could not be installed due to the > > above problems. - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Nashorn?
Hello, I've been using Netbeans candidates (vc4 currently) which is a joy to work with. This morning I download Netbeans 10 final. On firing it up I get this: Warning - could not install some modules: Nashorn Integration - No module providing the capability com.oracle.js.parser.implementation could be found. 19 further modules could not be installed due to the above problems. Not being a Java guy, I'd never heard of Nashorn until this happened. Anybody know what this means and how to fix it? Thanks in advance, Steve - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists