Eclipse executable launcher error: Unable to locate companion shared library

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

    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 ~

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

    I had the same message after a system restore with the eclipse folder (V. 3/2020) being located on a second drive (that was NOT restored at the same time, I use it for large files mainly).

    Restoring the faulty installations C:\Users<user>.p2 folder to the new installation (referenced in eclipse.ini of the eclipse folder) worked.

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

    I have seen this in MacOS Sierra. Sometimes unzipping the app leaves extended attributes that seem to prevent the startup. The following command line removes extended attributes and seems to fix the problem:

    xattr -c Eclipse.app

    It also works for other applications that are built on the eclipse framework.

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

    Another problem (that I ran into) is that Cygwin's unzip utility (UnZip 6.00 of 20 April 2009, by Cygwin. Original by Info-ZIP.) does not always correctly unzip everything needed for Eclipse to actually run.

    Using 7ZIP v9.20 got Eclipse Indigo (3.7.2) up and running for me on Win7 64bit with 32bit JVM and 32bit Eclipse.

    (First time I've ever had Cygwin's unzip fail on me...)

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

    I meet this issue after copy a eclipse installation to another pc.I find the eclipse installation auto created the .p2 directory on my c:\Users\xx.p2, and --launcher.library refer to here.So it doesn't exist on my another pc.
    My resolution is to reinstall eclipse:
    a)Double click eclipse-inst-win64.exe
    b)Click to change to advanced mode.
    c)Uncheck the Bundle Pool
    d)Finish your installation and copy again.
    Everything will work well.

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

    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:\

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