<원인>

eclipse.ini 에서 vm을 jdk 경로로 설정하였으나, 인식하지 못함.

vm을 설정할 때 jdk의 운영체제 bit 와 eclipse의 운영체제 bit가 일치해야함.

32bit eclipse를 사용할 경우 vm 경로를 32bit jre 경로로 설정해야 함.

64bit eclipse를 사용할 경우 vm 경로를 64bit jre 경로로 설정해야 함.


<해결방안>


eclipse.ini 에서 vm 경로를 jre 경로로 설정.


<eclipse.ini>


-startup

plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

–launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813

-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 (x86)/Java/jre7/bin/javaw.exe

-vmargs

-Dosgi.requiredJavaVersion=1.5

-Dhelp.lucene.tokenizer=standard

-Xms512m

-Xmx512m

-Dfile.encoding=UTF-8


출처:http://blog.daum.net/chemusic/51


+ Recent posts