Version 1.5.0_22 of the JVM is not suitable for this product. Version: 1.6 or greater is required.

Version 1.5.0_22 of the JVM is not suitable for this product. Version: 1.6 or greater is required.

 

이클립스에서 위와 같은 메시지가 뜰 때.

 

[원인]

(1) 해당 버전의 자바가 깔려있지 않은 경우

(2) 여러 버전의 자바가 깔려있는 경우 (1.4, 1.5, 1.6, 1.7 등이 깔려있는 경우)

 

[해결]

eclipse.ini 파일을 열어서,

 

Dosgi.requiredJavaVersion=1.6 를

Dosgi.requiredJavaVersion=1.4 로 수정한다.

 

[해결2]

-vmargs 위 부분에

 
-vm
C:\Java\jdk1.6.0_45\bin\javaw.exe
 
를 기입한다. (실제 javaw.exe가 위치한 곳이어야 한다.)