Eclipse executable launcher error: Unable to locate companion shared library

后端 未结 30 2878
猫巷女王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: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.

提交回复
热议问题