누군가이 문제를 해결할 수 있도록 도와 주시겠습니까? 나는 https://stackoverflow.com/a/12333879/7415499에 언급 된 솔루션을 시도했지만, 이것 또한 나에게 도움이되지 못했다.Eclipse_Photon : Java 기본 메소드 실행 중 "오류 : Java 가상 머신을 만들 수 없습니다"
Eclipse Version:
Version: Photon Milestone 3 (4.8.0M3)
Build id: 20171102-1036
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
참고 : eclipse.exe라는를 시작하면서이 오류가 오지 않아, 오히려 내가 main() 메소드를
eclipse.ini 파일을 실행하고 할 때 수정됩니다 아래로 :
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
C:\Users\DELL\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.600.v20170921-0935
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs C:\Program Files\Java\jdk1.8.0_144\bin\javaw.exe
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-Dosgi.requiredJavaVersion=1.8
[email protected]/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx512m
--add-modules=ALL-SYSTEM
내가 지시 한대로 이클립스를 통해 'Hello World'프로그램을 실행 해 보았습니다. 두 점 아래에 ** 1. eclipse.ini는 다음과 같이 수정 - ** --launcher.defaultAction openFile --launcher.appendVmargs -vm C : \ 프로그램 파일 \ 자바 \ jdk1.8.0_144 빈 \ \ javaw.exe가 -vmargs -Declipse .p2.max.threads = 10 ** 2. JRE ** 확인은 'Preferences'-> Java -> Installed JREs에 포함되어 있습니다. 그러나 메인 클래스를 실행하면서 **이 문제에 직면하고 있습니다 **. 내 측면에서 더 많은 정보가 필요한 경우 알려주십시오. –