There seem to be still a number of open issues about JShell in JIRA <https://issues.apache.org/jira/browse/NETBEANS-1099?jql=project%20%3D%20NETBEANS%20AND%20resolution%20%3D%20Unresolved%20AND%20text%20~%20%22jshell%22%20ORDER%20BY%20cf%5B12310200%5D%20DESC%2C%20priority%20ASC%2C%20updated%20DESC> (also a google search <https://www.google.com/search?client=firefox-b-d&q=troubleshooting+jshell+in+netbeans> ).
It could be many things. Messed up classpath in your system, migrating the profile of a previous NB installation etc. You may try some advice here <https://java.developreference.com/article/10559001/Could+not+initialize+JShell+in+Apache+NetBeans+IDE+10.0>. Otherwise, try a clean install of NetBeans, modifying etc/netbeans.conf pointing to a correct jdk (>8). On Mon, 24 Aug 2020 at 20:46, Laszlo Kishalmi <laszlo.kisha...@gmail.com> wrote: > Thanks Geertjan! > > I was fixated searching for JShell not Java Platform Shell. > > Checked on Linux with 14.0.2-zulu. It works as expected. > > On 8/24/20 9:26 AM, Geertjan Wielenga wrote: > > Should be in two places — right-click on a project (to include the > project > > path in the shell) and under the Tools menu. > > > > Gj > > > > On Mon, 24 Aug 2020 at 18:20, Laszlo Kishalmi <laszlo.kisha...@gmail.com > > > > wrote: > > > >> Hmm, I no longer find the action for JShell in the IDE. 12.1-beta3 > >> > >> > >> > >> On 8/24/20 7:06 AM, Jeremy Cavanagh wrote: > >> > >>> Hi, > >>> I've installed 12.1b3 via the binary on macOS 10.14.6 and used it with > >>> zulu-11 and 14 jdks no problem. > >>> I have been very adventurous installing payara etc. things that I have > >>> not done before! Maven works, I can index local and remote servers, > >>> download etc. > >>> I've Created simple maven, payara and JavaFX projects all very > >>> successfully. > >>> And much more... > >>> Everything works to my personal amazement (absolutely no negative > >>> expectations of all you hard working committers, just tremendous > >>> congrats to all). > >>> However, there is just one thing that I cannot sort out and that is > >>> JShell. It works fine in the terminal with jdk 11 and 14, but for the > >>> life of me, I cannot get it to work in Apache NetBeans. > >>> I get a long winded error message (abbreviated) > >>> Could not initialize JShell: ... > >>> ... caused by: VM initialization failed for: > >>> /Library/Java/JavaVirtualMachines/zulu-14.jdk/Contents/Home/bin/java > >>> -classpath > >>> /Users/***/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug > >>> -Xrunjdwp:transport=dt_socket,address=mbp.home:54663,suspend=y > >>> org.netbeans.lib.jshell.agent.AgentWorker 54662 > >>> Any ideas? > >>> Regards > >>> Jeremy > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > >>> For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org > >> > >> For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >