2 settlerzorro settlerzorro 于 2017.09.01 10:02 提问

jvm发生启动错误 VM initialization failed for
jvm

在网上找了个debug的demo,考下来运行就报错。

Exception in thread "main" com.sun.jdi.connect.VMStartException: VM initialization failed for: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/bin/java -Xdebug -Xrunjdwp:transport=dt_socket,address=zhangshuaideMacBook-Pro.local:50975,suspend=y com.ibm.jdi.test.HelloWorld
at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:193)
at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:132)
at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:223)
at com.ibm.jdi.test.SimpleDebugger.main(SimpleDebugger.java:60)

程序运行到
vm = launchingConnector.launch(defaultArguments);这个位置出得错,求解

Csdn user default icon
上传中...
上传图片
插入图片