Eclipse Update Failing with Message “Insufficient access privileges to apply this update”

后端 未结 9 1610
星月不相逢
星月不相逢 2021-02-05 06:11

I\'m running Eclipse under a Windows 7, 64-bit installation on which I have administrator privileges.

Since I first installed Eclipse many months ago, I\'ve been able to

相关标签:
9条回答
  • 2021-02-05 06:31

    In Windows another option is to set the "Run as administrator" property on the Eclipse shortcut that you're using to start Eclipse. Right click on the shortcut and choose "Properties" from the dropdown menu. Click on the "Shortcut" tab in the Properties dialog and then click on the "Advanced..." button. In the Advanced Properties dialog set the "Run as administrator" option.

    0 讨论(0)
  • 2021-02-05 06:33

    For Linux Distros, most personal apps for all users are installed in the /opt/ folder. This folder is owned by root. My solution which has been tested to work is simply to open the opt folder in terminal call 'ls' to make sure you see the 'eclipse' folder in your current directory. It may be inside another folder.

    Then simply use this command replacing 'user' with your username.

    sudo chown -R user:user eclipse/
    

    and that's it. Of course only you will be able to run updates on eclipse but I imagine you are the primary user of the computer.

    0 讨论(0)
  • 2021-02-05 06:34

    Another (simpler?) approach which worked for me is to simply give the group "Users" write permission on C:\Program Files (x86)\eclipse.

    Now, this is a security consideration, but you're NOT granting access to the whole of C:\Program Files (x86), just the eclipse installation.

    0 讨论(0)
  • 2021-02-05 06:40

    I fixed this problem (windows) by re-opening eclipse by right-clicking the eclipse.exe and selecting "Run as administrator".

    Not sure why this step was needed all of the sudden but it worked. After my upgrade (I upgraded from eclipse sdk 4.3 -> 4.4) it still lets me make updates without running as administrator.

    0 讨论(0)
  • 2021-02-05 06:45

    I found a workaround for this stupid bug in Eclipse. Selecting updates one-by-one is disabled, but if you click Select all and then deselect the ones you do not need, you can proceed.

    0 讨论(0)
  • 2021-02-05 06:46

    From Powershell, I set permissions on the folder like so:

    & icacls "C:\ProgramData\chocolatey\lib\eclipse-java-neon\eclipse" "/grant" "domain\user:(OI)(CI)F" "/T"
    

    Note: I had a different install location, as I used chocolatey to install eclipse

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