You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "James Z (Jira)" <ji...@apache.org> on 2019/11/27 10:04:00 UTC

[jira] [Created] (NETBEANS-3471) Could not initialize JShell in NetBeans

James Z created NETBEANS-3471:
---------------------------------

             Summary: Could not initialize JShell in NetBeans
                 Key: NETBEANS-3471
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3471
             Project: NetBeans
          Issue Type: Bug
          Components: java - JShell
    Affects Versions: 11.2
         Environment: Product Version: Apache NetBeans IDE 11.2
Java: 13.0.1; Java HotSpot(TM) 64-Bit Server VM 13.0.1+9
Runtime: Java(TM) SE Runtime Environment 13.0.1+9
System: Mac OS X version 10.14 running on x86_64; UTF-8; en_CN (nb)

            Reporter: James Z


Click menu Tools -> Open Java Platform Shell, it failed to start jshell.

Error as below:

|  Could not initialize JShell: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.ExecutionException: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=xx-macOS:63453,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 63452 @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- \{home=home=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home, options=options=-classpath "/Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:", main=main=org.netbeans.lib.jshell.agent.AgentWorker 63452, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}|  Could not initialize JShell: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.ExecutionException: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=xx-macOS:63453,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 63452 @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- \{home=home=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home, options=options=-classpath "/Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:", main=main=org.netbeans.lib.jshell.agent.AgentWorker 63452, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}|  caused by: Failed remote launch: java.util.concurrent.ExecutionException: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=xx-macOS:63453,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 63452 @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- \{home=home=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home, options=options=-classpath "/Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:", main=main=org.netbeans.lib.jshell.agent.AgentWorker 63452, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}|  caused by: com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=xx-macOS:63453,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 63452|  caused by: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java -classpath /Applications/NetBeans/Apache NetBeans 11.2.app/Contents/Resources/NetBeans/netbeans/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug -Xrunjdwp:transport=dt_socket,address=xx-macOS:63453,suspend=y org.netbeans.lib.jshell.agent.AgentWorker 63452

-> 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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