Eclipse executable launcher error: Unable to locate companion shared library

后端 未结 30 2479
猫巷女王i
猫巷女王i 2020-11-29 18:49

I had Eclipse Indigo installed on my computer with the Android plugin and it was working perfectly for about two weeks. Today, I updated java and quicktime then restarted my

相关标签:
30条回答
  • 2020-11-29 19:13

    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 !!

    0 讨论(0)
  • 2020-11-29 19:18

    Mostly this is related to problems on windows with the unzipping it seems. (See other answers here for that).

    The second largest issue seems to be that eclipse is not able to find java or finds a java version which is too old or even older eclipse installations.

    Here's another take to the latter problem and a small twist to solve it. My work environment is on a linux system, without root access, and with software installations where I can configure which versions to use in a kind of config file. However I have no influence on the way those software packages are installed and they are immutable to me.

    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.

    0 讨论(0)
  • 2020-11-29 19:18

    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.

    0 讨论(0)
  • 2020-11-29 19:19

    I just ran into this myself and found that, indeed, as one post above stated: using cygwin and gunzip or unzip to set up your eclipse environment the permissions on the .exe and .dll files will be incorrect and the JVM will not run them properly.

    Quick solution:

    
    #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
    
    0 讨论(0)
  • 2020-11-29 19:19

    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

    0 讨论(0)
  • 2020-11-29 19:21

    Problem happened when I unzipped using Cygwin. Used the Windows XP standard unzip program and it worked.

    0 讨论(0)
提交回复
热议问题