Khi tôi đang cố gắng để bắt đầu nhật thực, tôi nhận được sau cửa sổ lỗi:eclipse không bắt đầu
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>
Bối cảnh:
OS: Wndows 7 64 bit SP1
Java: jdk1.7.0_03
Eclipse: eclipse-SDK-3.7.2-win32-x86_64
Thư mục cài đặt Java: C: \ Program Files \ Java \ jdk1.7.0_03 \
Đường dẫn: C: \ Program Files (x86) \ PC Connectivity Solution \ ; C: \ Program Files \ Tệp phổ biến s \ Microsoft chia sẻ \ Windows Live; C: \ Program Files (x86) \ Tệp phổ biến \ Microsoft chia sẻ \ Windows Live;% SystemRoot% \ system32;% SystemRoot%;% SystemRoot% \ System32 \ Wbem;% SYSTEMROOT% \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files \ Intel \ WiFi \ bin \; C: \ Program Files \ Tệp phổ biến \ Intel \ WirelessCommon \; C: \ Program Files \ Thẻ WLAN của Dell \ DW; C: \ Program Tập tin \ TortoiseSVN \ bin; C: \ Program Files \ Perforce; C: \ Program Files (x86) \ Windows Live \ Shared; C: \ Program Files \ WIDCOMM \ Phần mềm Bluetooth \; C: \ Program Files \ WIDCOMM \ Bluetooth Phần mềm \ syswow64; D: \ Nitin cá nhân \ Phần mềm \; C: \ Windows \ System32 \; C: \ Program Files \ Java \ jdk1.7.0_03 \ bin; C: \ Program Files \ Java \ jre7 \ bin
Đây là nội dung của 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
Xin vui lòng giúp đỡ.
Bạn đã xem tại đây: http://stackoverflow.com/questions/6333874/eclipse-startup-error-code-1? –
Trong trường hợp của tôi, thông báo lỗi này được gây ra bởi một đối số typo'd trong tham số -vmargs. Hy vọng điều này sẽ giúp người khác khắc phục sự cố. – RMorrisey