진이의 Developer Story

failed to create the java virtual machine 본문

TOOL/Eclipse

failed to create the java virtual machine

JIN3260 2016. 1. 26. 10:35

(1) 원인
JDK를 찾지 못해 발생하는 현상

(2) 해결방안
eclipse 폴더 내 eclipse.ini 파일을 수정한다.

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0_79\bin\javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m

-vm JDK경로를 적어준다음 저장 후 이클립스 실행!

'TOOL > Eclipse' 카테고리의 다른 글

이클립스(Eclipse) 단축키  (0) 2016.01.19
Eclipse Code Template  (0) 2016.01.18
Comments