본문 바로가기

IT/Java

The Eclipse executable launcher was unable to locate its companion shared library 에러 잡기

"The Eclipse executable launcher was unable to locate its companion shared library. "

에러 발생시 eclipse.ini 파일에서 startup, launcher.library 경로를 정확히 지정해주자.

plugins 파일에가서 org.eclipse.equinox.launcher 로 시작하는 jar파일은 startup 경로

org.eclipse.equinox.launcher 로 시작하는 폴더는 launcher.library 경로로 지정해주기


수정 전

-startup

plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.dist

-product

org.eclipse.epp.package.jee.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

--launcher.appendVmargs

-vm

C:\Program Files\Java\jdk1.7.0_80\bin\javaw.exe

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xmx512m


수정 후

-startup

C:\app\eclipse_fta\plugins\org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

--launcher.library

C:\app\eclipse_fta\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212

-product

org.eclipse.epp.package.jee.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

--launcher.appendVmargs

-vm // 이건 JVM 경로 잡아주는 것 -vmergs 보다 앞에 있어야해

C:\Program Files\Java\jdk1.7.0_80\bin\javaw.exe

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms512m

-Xmx1024m