You are viewing a plain text version of this content. The canonical link for it is here.
Posted to netcat@netbeans.apache.org by David Salter <da...@me.com> on 2017/06/15 13:39:15 UTC

[tools] Problems starting JShell

Hi,

If I go to the Tools menu and select “Open Java Platform Shell”, I get the error shown below.

I can open the shell successfully from the terminal

    $ jshell -v
    |  Welcome to JShell -- Version 9-ea
    |  For an introduction type: /help intro

    jshell> 


Anyone else experiencing this problem?

Ta.

Dave.

I’m running on OS X 10.12.5
$ java -version
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+173)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+173, mixed mode)


|  Could not initialize JShell: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=options=-classpath /Users/david/Develop/Code/NetBeans/netbeans-donation-review/nbbuild/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, main=main=org.netbeans.lib.jshell.agent.AgentWorker 51197, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
|  	caused by: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=options=-classpath /Users/david/Develop/Code/NetBeans/netbeans-donation-review/nbbuild/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, main=main=org.netbeans.lib.jshell.agent.AgentWorker 51197, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
|  	caused by: null


->