본문 바로가기

Paul Work/Tool

Eclipse 실행이 안 될 때

Eclips 바로가기를 클릭 했을때 Eclips만 잠시 떴다가 아무런 행동이 일어 나지 않을때 
아래 바로 가기 버튼에 주소 부분에 아래 와 같은 부분을 적어 주면 된다.

=======================================================================================================
 Eclipse 바로가기를 만들어 속성에서
~\eclipse.exe 뒤에 -vm 붙이고 경로\javaw.exe 를 적는다.
~\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_20\bin\javaw.exe"

 -> eclipse.ini 파일을 불러올 때 제대로 JDK를 불러주지 못해서 그런 경우에

아예 JDK가 어디 있다는 것을 명시해 줌으로써 해결.
eclipse.ini 파일을 고치려면.
eclipse.ini 파일의 Character Set의 문제로 잘못되었을 수 있다. 워드패드로 열어서 저장해준다.

그래도 안되면, 내용을 본다.

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m

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

위를,

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m

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

이렇게 바꿔준다. 메모리 할당 부분인데, 다른 블로그에서 찾아보니,

이렇게 하면 된다더라.ㅎ

[출처] Eclipse 실행이 안될 때|작성자 htmaster : http://blog.naver.com/htmaster?Redirect=Log&logNo=150085925521
=======================================================================================================