관리 메뉴

드럼치는 프로그래머

[Eclipse] Failed to create the Java Virtual Machine 에러 해결방법 본문

★─IT Brain/☆─Eclipse

[Eclipse] Failed to create the Java Virtual Machine 에러 해결방법

드럼치는한동이 2011. 5. 6. 09:17

Failed to create the Java Virtual Machine

에러 해결방법

 

 

 

 

이클립스를 실행시키려는데..

 

Failed to create the Java Virtual Machine 에러가 발생하면

 

딱 2줄만 입력하면 된다.

 

 

 

 

[ 문제 화면 ]

 

 

 

 

 

 

 

[ 해결 방법 ]

 

이클립스가 깔려있는 경로에 들어가보면 eclipse.ini 파일이 존재한다.

이 파일을 열고서 다음과 같은 라인 2줄만 입력하자.

vm
c:\Program files\java\jdk1.6.0_21\bin\javaw.exe

 

 

 

 

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-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.6.0_21\bin\javaw.exe

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

 

 

이제 다시 이클립스를 실행시키면 잘 실행 될 것이다.


Comments