JAVA
이클립스(eclipse) 실행오류 ( Failed to create the Java Virtual Machine. )
saltdoll
2010. 9. 30. 11:39
반응형
사례 1. 이클립스 실행오류 ( Failed to create the Java Virtual Machine. )
eclipse.ini 파일에 다음의 "-vm 정보"를 넣어주면 해결됩니다.
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vm
C:\Program Files\Java\jdk1.6.0_21\bin\javaw.exe
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vm
C:\Program Files\Java\jdk1.6.0_21\bin\javaw.exe
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
사례2. 실행이 되지 않는 경우.
A Java runtime Environment (JRE) or JAVA Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching following locations:
C:\Program Files\JAVA\jre1.6.0_03\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH
이클립스는 jvm이 설치되어있지않으면 실행할수 없습니다.
즉 jvm을 못찾는다는 에러입니다.
환경변수에서 JAVA_HOME 변수에 설치한 jdk 디렉토리 지정하시고요.
path 변수에 %JAVA_HOME%\bin; 추가하세요.
반응형