Programming

Eclipse 실행 파일 실행기 오류 : 동반자 공유 라이브러리를 찾을 수 없습니다

procodes 2020. 7. 21. 21:56
반응형

Eclipse 실행 파일 실행기 오류 : 동반자 공유 라이브러리를 찾을 수 없습니다


Android 플러그인을 사용하여 Eclipse Indigo를 컴퓨터에 설치했으며 약 2 주 동안 완벽하게 작동했습니다. 오늘은 java와 quicktime을 업데이트 한 다음 컴퓨터를 다시 시작했습니다. 다시 부팅하면 이클립스가 완전히 사라졌습니다. 모든 프로그램 파일이 완전히 사라졌습니다. 다시 설치하려고하면 오류 메시지가 나타납니다.

Eclipse 실행 파일 실행기가 동반자 공유 라이브러리를 찾을 수 없습니다.

무슨 일이 있었으며 어떻게 해결할 수 있습니까?


꽤 나쁘고 이상하게 들립니다. 그러나 재설치는 그렇게 어렵지 않습니다. 다운로드, 압축 해제, 기본 메모리 할당 변경, Eclipse 실행, 필요한 플러그인 및 기능 설치.

그리고 거의 모든 중요한 환경 설정이 작업 공간에 있습니다. 작업 공간 밖에서 생각할 수있는 유일한 중요한 것은 위에서 언급 한 메모리 할당이며 명령 줄 또는 ECLIPSE.INI 파일에서 설정할 수 있습니다.


방금 같은 문제가 발생했습니다. 나에게 문제는 Windows 7 기본 압축 해제 프로그램이었습니다. 파일 구조가 깊은 파일을 발견하면 문제가 있습니다. 이 문제에 대해 얼마 전에 읽었지만 기사를 기억할 수 없습니다. 나를위한 수정은 WinZip (또는이 문제가없는 다른 도구)을 사용하여 Eclipse 다운로드의 압축을 푸는 것입니다.


eclipse.ini를 확인하십시오. 다음과 같은 두 가지 항목이 있습니다.

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807

일부 꼬인 이유로 항아리 이름이 버전이 있으므로 eclipse의 두 가지 버전을 업그레이드하거나 가지고있는 경우 (eclipse.ini가 eclipse의 시스템 전체 conf 파일로 연결되거나 제공되는 경우) 위의 오류가 발생합니다.


Win7의 cygwin 디렉토리에서 압축을 풀 때 .exe.dll에 실행 모드가 제공되어야합니다. 이것은 $TERMWindows 7에서 cygwin으로 실행 되는 민트 (또는 다른 ) 터미널 의 솔루션입니다 .

me@mymachine ~/eclipse
$ find . -name "*.dll" -exec chmod +x {} \;

Juno (eclipse 4.2)와 함께 압축이 풀린 cygwin 1.7로 시도했습니다.


나는 MacOS Sierra에서 이것을 보았습니다. 때때로 앱 압축을 해제하면 시작을 방해하는 확장 된 속성이 남습니다. 다음 명령 줄은 확장 된 속성을 제거하고 문제를 해결하는 것으로 보입니다.

xattr -c Eclipse.app

또한 Eclipse 프레임 워크에 빌드 된 다른 애플리케이션에서도 작동합니다.


내가 겪었던 또 다른 문제는 Cygwin의 압축 해제 유틸리티 (2009 년 4 월 20 일의 UnZip 6.00, Cygwin, Info-ZIP의 Original)가 Eclipse가 실제로 실행하는 데 필요한 모든 것을 항상 올바르게 압축 해제하지는 않는다는 것입니다.

7ZIP v9.20을 사용하면 Eclipse Indigo (3.7.2)가 32 비트 JVM 및 32 비트 Eclipse가있는 Win7 64 비트에서 실행되고 실행되었습니다.

(처음으로 Cygwin의 압축 해제가 실패했습니다 ...)


방금이 문제에 직면하여 실제로 위의 한 게시물에서 언급했듯이 cygwin 및 gunzip 또는 unzip을 사용하여 일식 환경을 설정하면 .exe 및 .dll 파일에 대한 권한이 올바르지 않고 JVM이 실행되지 않습니다. 정확히.

빠른 솔루션 :


#switch to the eclipse target folder
cd /cygdrive/c/Program\ Files\ \(x86\) #or wherever you put eclipse
find ./ -regextype posix-extended -mindepth 1 -type f -regex ".*\.exe|.*\.dll" |\
xargs chmod -v 750

내 경험과 조언 : C : 드라이브에 Eclipse Juno를 설치하십시오.

zip을 다운로드 한 후 C :에 놓고 마우스 오른쪽 버튼을 클릭하십시오-> 여기에서 추출하십시오. 그러면 C : 드라이브에 eclipse라는 폴더가 생성됩니다.

그런 다음 Eclipse 실행 파일로 이동하여 실행하면 모두 정상입니다.


이클립스 설치를 다른 PC에 복사 한 후이 문제가 발생합니다 .eclipse 설치가 c : \ Users \ xx.p2에 .p2 디렉토리를 자동으로 생성했으며 --launcher.library가 여기에 있음을 알았습니다. 내 다른 PC에 존재합니다.
내 해결책은 이클립스를 다시 설치
하는 것입니다 .a
) eclipse-inst-win64.exe를 두 번 클릭하십시오 .b) 클릭하여 고급 모드로 변경하십시오.
c) 번들 풀을 선택 취소
하십시오. d) 설치를 완료하고 다시 복사하십시오.
모든 것이 잘 작동합니다.


Cygwin을 사용하여 압축을 풀 때 문제가 발생했습니다. Windows XP 표준 압축 풀기 프로그램을 사용했으며 작동했습니다.


두 개의 식을 가지고 있다면 언젠가 이런 일이 발생합니다

당신은 제거해야합니다

-startup
plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar 

eclipse.inieclipse.exe (Launcher) 옆의 파일 에서


대부분 이것은 압축이 풀린 Windows의 문제와 관련이 있습니다. (여기에 대한 다른 답변을 참조하십시오).

두 번째로 큰 문제는 일식이 Java를 찾을 수 없거나 너무 오래되었거나 더 오래된 일식 설치 인 Java 버전을 찾는 것 같습니다.

다음은 후자의 문제에 대한 또 다른 견해와이를 해결하기위한 작은 비틀기입니다. 내 작업 환경은 Linux 시스템에 있으며 루트 액세스 권한이 없으며 일종의 구성 파일에서 사용할 버전을 구성 할 수있는 소프트웨어 설치가 있습니다. 그러나 해당 소프트웨어 패키지가 설치되는 방식에는 영향을 미치지 않으며 변경되지 않습니다.

I download and untar the latest eclipse as usual to a user disk for which I have write permissions. Then I configure myself an alias to always temporarily cd into the eclipse installation when starting. That regardless of where I work on the file systems, eclipse always finds its correct libraries. It seems in some places, eclipses default search path for java digs out an installation (of java or older eclipses or sth else) in my environment that it really should not use.

Here's the alias: alias eclipse '(pushd /enter_path_to_eclipse_install_dir_here/eclipse ; ./eclipse ; popd)'

Now you can start it normally from e.g. your project or arbitrary work directory:

eclipse

Or also put it in the background

eclipse &

Maybe this helps for people in convoluted work environments.


I have copied the Eclipse folder from another machine where the path was different and that was the root of this problem. Changing the plugins path in ECLIPSE.INI worked for me !!


I have same problem when I was trying to install it on Windows8. But it was an zip composed file.... Ones I unzip and Run "eclipes.exe" file as run As 'Administration' I resolve it. Now I enjoying it very well...... Try to Follow me on Fb..if You Have Any Problem Regarding to installation as'Raj Barhate(MH)' I will Proved my best to resolve your problems well..


Solution for Mac

Reason: Eclipse copies from one location to other

Solution: Paths change needed in /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini

Fix path for plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar


Also see this related question's answer.

The gist is: Try unzipping it again with a solid unzip tool. Sometimes unzipping goes wrong, especially with the built-in Windows Explorer tool.


i have this error message when i use extract the files as follows:

  • action\select all
  • drag and drow the files to an new folder

Somehow information about the folders get lost

when i use "action\extract to..." it works.

Also, remember to right click on eclipse, then choose Security Unblock


I also faced ths problem, I just deleted the extracted file and extracted it again.

I have a .rar file.

This problem occurs when the file is not extracted completely.


Try running eclipse.exe as administrator or using Eclipse Helios.


open eclipse.ini and replace with this ~

-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
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.0.0-531062

this work for me, good luck ~


You might changed your drive-letter: once u had installed eclipse on D:\, after windows reinstall the drive-letter is now E:\ (for example).

look into eclipse.ini in your eclipse folder, there are some lines where the drive-letter is still D:\


This happened to me when I tried to open eclipse.exe before the .zip file finished extracting. Make sure all dependencies are unzipped or unpacked before opening the .exe.


I had this issue on Linux (CentOS 7 64 bit) with 32-bit Eclipse Neon and 32-bit JRE 8. Non of the answers here or in similar questions were helpful, so I thought it can help someone.

Equinox launcher (eclipse executable) is reading the plugins/ directory and then searches for eclipse_xxxx.so/dll in org.eclipse.equinox.launcher.<os>_<version>/. Typically, the problem is in eclipse.ini pointing to the wrong version of Equinox launcher plugin. But, if the file system uses 64-bit inodes, such as XFS and one of the files gets inode number above 4294967296, then the launcher fails reading the plugins/ directory and this error message pops up. Use ls -li <eclipse>/plugins/ to check the inode numbers.

In my case, moving to another mount with 32-bit inodes resolved the problem.

See: http://www.tcm.phy.cam.ac.uk/sw/inodes64.html


I encountered this error with the Eclipse 4.10 installer. We had failed to complete the install correctly due to platform security settings and attempted to uninstall but had to do it by hand since no uninstaller was introduced during the failed install. We suspected this corrupted the end result - even after re-installing.

The solution was to use the JVM to launch Eclipse and bypass the launcher executable entirely. The following command successfully launches Eclipse 4.10 (some parameters will change based on the version of Eclipse):

%JDK190%\bin\javaw.exe -jar C:\<fully_qualified_path_to_eclipse>\Eclipse410\plugins\org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar -clean -showsplash

After using this command/shortcut to launch Eclipse we had no further errors with Eclipse itself but we weren't able to use the EXE launcher in the future. Even after a year of using this version, the launcher continues to display this same error.

To be clear, you'll have to modify your javaw.exe command to match your system specifications on MS Windows.


Restart the machine. Solve your problem. Sometimes it happens when you are trying to restart the eclipse and in-between forcefully close it.

참고URL : https://stackoverflow.com/questions/7070968/eclipse-executable-launcher-error-unable-to-locate-companion-shared-library

반응형