启动时我遇到了这个问题。我设法让它完美地工作然后我做了一个系统恢复(这让我回到了之前),从那以后它没有用,虽然我重新安装它并做了我以前做的一切。根据卸载/更改程序菜单,我安装了Java 7 Update 75(64位)和Java SE Development Kit 7 Update 75(64位)。!
非常感谢你们!
JVM terminated. Exit code=2
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os win32
-ws win32
-arch x86_64
-showsplash
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.platform_4.4.2.v20150204-1700\splash.bmp
-launcher C:\Users\tom\Desktop\eclipse\eclipse.exe
-name Eclipse
--launcher.library
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316\eclipse_1608.dll
-startup
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdate 1f18_68
-product org.eclipse.epp.package.java.product
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xmsm40
-Xmx512m
-jar
C:\Users\Tom\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
答案 0 :(得分:0)
答案可以在这里找到 - Eclipse: JVM terminated. Exit code=2
"当我通过删除
更改PATH变量时,问题得以解决<?php
return [
'components' => [
'db' => [
'class' => 'yii\elasticsearch\Connection',
'user' => 'admin',
'password' => 'admin',
'nodes' => [ ['http_address' => '127.0.0.1:9200'],
// configure more hosts if you have a cluster
],
],
]
];
在命令提示符下,我还运行了以下命令:
C:\ProgramData\Oracle\Java\javapath;
但我认为最重要的是删除C:\ ProgramData \ Oracle \ Java \ javapath;来自PATH。&#34;