gpt4 book ai didi

eclipse - eclipse 没有开始

转载 作者:行者123 更新时间:2023-12-03 11:21:05 24 4
gpt4 key购买 nike

当我尝试启动Eclipse时,出现以下错误窗口:

Java was started but returned exit code=1<br>
C:\Program Files\Java\jdk1.7.0_03\bin\javaw.exe<br>
-Xms40m<br>
-Xmx384m<br>
-XX:-UseCompressedOops<br>
XMaxPermSize=256m<br>
-jar C:\Eclipse\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar<br>
-os win32<br>
-ws win32<br>
-arch x84_64<br>
-showsplash<br>
-launcher C:\Eclipse\eclipse.exe<br>
-name Eclipse<br>
--launcher.library C:\Eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502\eclipse_1406.dll<br>
-startup plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar<br>
-launcher.overrideVmargs<br>
-Xms40m<br>
-Xmx384m<br>
-XX:-UseCompressedOops<br>
-XX:MaxPermSize=256m<br>
-jar C:\Eclipse\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar<br>

背景:

操作系统:Wndows 7 64 bit SP1
Java:jdk1.7.0_03
Eclipse:eclipse-SDK-3.7.2-win32-x86_64
Java安装文件夹:C:\Program Files\Java\jdk1.7.0_03\
路径:C:\Program Files(x86)\PC Connectivity Solution\; C:\Program Files\Common Files\Microsoft Shared\Windows Live; C:\Program Files(x86)\Common Files\Microsoft Shared\Windows Live;% SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; C:\Program Files\Intel\WiFi\bin\; C:\Program Files\Common Files\Intel\WirelessCommon\; C:\Program Files\Dell\DW WLAN卡; C:\Program Files\TortoiseSVN\bin; C:\Program Files\Perforce; C:\Program Files(x86)\Windows Live\Shared ; C:\Program Files\WIDCOMM\Bluetooth Software\; C:\Program Files\WIDCOMM\Bluetooth Software\syswow64; D:\Nitin Personal\Softwares\; C:\Windows\System32\; C:\Program Files\Java\jdk1.7.0_03\bin; C:\Program Files\Java\jre7\bin

以下是eclipse.ini的内容:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
openFile
-vm
C:\Program Files\Java\jdk1.7.0_03\bin\javaw.exe
--launcher.defaultAction
-vmargs
-Xms40m
-Xmx384m
-XX:-UseCompressedOops

请帮忙。

最佳答案

我遇到了同样的问题,通过将-Xmx的值更改为eclipse.ini.中的一个较低的值来解决了该问题

旧配置为:

-vm C:/your_appication/jvm/jvm160_32/jre/bin/javaw.exe -vmargs -Xms128m -Xmx1024m

新的配置是:
-vm C:/your_appication/jvm/jvm160_32/jre/bin/javaw.exe -vmargs -Xms128m -Xmx256m

关于eclipse - eclipse 没有开始,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10243209/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com