[ https://issues.apache.org/jira/browse/NETBEANS-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270388#comment-17270388 ]
Tomáš Procházka commented on NETBEANS-3471: ------------------------------------------- Tested in NetBeans 12.2 and OpenJDK 14. > 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 > Priority: Major > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists