Hi,

thanks a lot for the reminder. I've updated https://issues.apache.org/jira/browse/NETBEANS-133 with a convenience NBM for testing. Make sure that jshell JDK tool works on your setup; just launch jshell from commandline and execute e.g. System.err.println("Hello"); which should launch the user code VM.

-Svata

Dne 18.1.2018 v 05:38 Chuck Davis napsal(a):
Using binary build as referenced..

I wanted to use JShell so tried to open it and received the following:


Could not initialize JShell: Launching JShell execution engine threw:
Failed remote launch: java.util.concurrent.TimeoutException @
com.sun.jdi.CommandLineLaunch (defaults: home=/usr/java/jdk-9.0.1,
options=, main=, suspend=true, quote=", vmexec=java) --
{home=home=/usr/java/latest, options=options=-classpath
/sata2/Downloads/NetbeansRC2/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:,
main=main=org.netbeans.lib.jshell.agent.AgentWorker 44793,
suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
|      caused by: Failed remote launch: java.util.concurrent.TimeoutException
@ com.sun.jdi.CommandLineLaunch (defaults: home=/usr/java/jdk-9.0.1,
options=, main=, suspend=true, quote=", vmexec=java) --
{home=home=/usr/java/latest, options=options=-classpath
/sata2/Downloads/NetbeansRC2/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:,
main=main=org.netbeans.lib.jshell.agent.AgentWorker 44793,
suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
|      caused by: null

Running on Linux with Oracle jdk9.  I see similar reported previously
related to Mac @ NETBEANS-133.  My host is defined as follows:

127.0.0.1    localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

Does anybody recognize what I've screwed up?  Does this need to be reported
again?

Thanks for any pointers.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to