Claudio Rosati created NETBEANS-2531:
----------------------------------------
Summary: Could not initialize JShell
Key: NETBEANS-2531
URL: https://issues.apache.org/jira/browse/NETBEANS-2531
Project: NetBeans
Issue Type: Bug
Components: java - JShell
Affects Versions: 11.0
Environment: macOS 10.14.4
openjdk version "12" 2019-03-19
OpenJDK Runtime Environment (build 12+33)
OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)
Reporter: Claudio Rosati
When I start JShell the following is written inside its window:
{code: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-12.jdk/Contents/Home/bin/java -classpath
/Applications/NetBeans/NetBeans
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y
org.netbeans.lib.jshell.agent.AgentWorker 58367 @ com.sun.jdi.CommandLineLaunch
(defaults: home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home,
options=, main=, suspend=true, quote=", vmexec=java) --
{home=home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home,
options=options=-classpath "/Applications/NetBeans/NetBeans
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:",
main=main=org.netbeans.lib.jshell.agent.AgentWorker 58367,
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-12.jdk/Contents/Home/bin/java -classpath
/Applications/NetBeans/NetBeans
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y
org.netbeans.lib.jshell.agent.AgentWorker 58367 @ com.sun.jdi.CommandLineLaunch
(defaults: home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home,
options=, main=, suspend=true, quote=", vmexec=java) --
{home=home=/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home,
options=options=-classpath "/Applications/NetBeans/NetBeans
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:",
main=main=org.netbeans.lib.jshell.agent.AgentWorker 58367,
suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
| caused by: com.sun.jdi.connect.VMStartException: VM initialization
failed for: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java
-classpath /Applications/NetBeans/NetBeans
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y
org.netbeans.lib.jshell.agent.AgentWorker 58367
| caused by: VM initialization failed for:
/Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home/bin/java -classpath
/Applications/NetBeans/NetBeans
11.app/Contents/Resources/NetBeans/java/modules/ext/nb-mod-jshell-probe.jar:
-Xdebug -Xrunjdwp:transport=dt_socket,address=CI0011766:58368,suspend=y
org.netbeans.lib.jshell.agent.AgentWorker 58367
->
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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