|
Re: Insufficient access privileges to apply this update [message #957868 is a reply to message #953558] |
Thu, 25 October 2012 15:03 |
Ben Johnson Messages: 23 Registered: March 2012 |
Junior Member |
|
|
I'm experiencing this problem, too.
When I attempt to apply core updates to Eclipse Juno SR1, and by core, I mean "Eclipse IDE for Java Developers" (epp.package.java), I'm unable to place a check-mark next to the update and the message "Insufficient access privileges to apply this update" appears at the bottom of the dialog.
I suspect this is because I installed Eclipse to "C:\Program Files\eclipse", which is a privileged location on Windows. Changes to anything inside this directory require Administrator privileges. Presumably, Eclipse stores core updates in a subdirectory of "C:\Program Files\eclipse", but it stores plug-ins in a subdirectory of the user's home directory. This is why plug-ins can be installed without issue, but installing core updates fails.
I've tried to work around this by launching Eclipse using "Run as Administrator". I'm able to install the updates, but the workspace goes to hell (see attached screenshot).
After I install the update, and I launch Eclipse under my own limited user account, the issue pictured in the attached screenshot persists. I have to re-install all of my plug-ins under my own account for them to begin functioning again.
"Don't install the program in 'C:\Program Files'" isn't an acceptable workaround. The "Program Files" directory is the standard location to which programs are installed in Windows, and there's a reason that its permission settings are strict.
Thanks for any help here.
|
|
|
Re: Insufficient access privileges to apply this update [message #957892 is a reply to message #957868] |
Thu, 25 October 2012 15:24 |
|
On 10/25/2012 9:03 AM, Ben Johnson wrote:
> I'm experiencing this problem, too.
>
> [snip]
>
> "Don't install the program in 'C:\Program Files'" isn't an acceptable workaround. The "Program Files" directory is the standard location to which programs are installed in Windows, and there's a reason that its permission settings are strict.
The best place to install Eclipse is C:\Users\me\...\eclipse.
Eclipse was written back in the days of Windows XP and many were still
even using 98.
Eclipse is a personal productivity tool and you're just standing on
ceremony. It's far better to install it locally with a private JDK and
Tomcat, etc. (if you're doing web development) than to deal with the
interminable permissions trouble. Or, you can smoke the Windows 7
permissions thing for your whole Windows box too.
If you want to deal with the restrictions imposed beginning in Windows 7
because you find virtue in doing so, then deal with them and find your
work-arounds. Meanwhile, people are getting work done without the mitre
and stole of your cardinalship.
Just saying...
|
|
|
|
Re: Insufficient access privileges to apply this update [message #957930 is a reply to message #957918] |
Thu, 25 October 2012 16:00 |
|
On 10/25/2012 9:49 AM, Ben Johnson wrote:
> Thanks for the response, Russell.
>
> I can live with installing Eclipse to my personal profile directory. At
> least then the permissions can be set correctly and in accordance with
> the other items within my profile.
>
> I just wasn't willing to install it to C:\eclipse and set the
> permissions to the equivalent of 0777, or something equally ridiculous.
Ben,
Looked like you're a PHP guy, but getting ready to do some Java?
If so, you'll find things more stable (not every one does this) by
downloading a private copy of a Sun JDK to work with. I put it alongside
eclipse, wire it up via eclipse.ini (-vm option). I also do that for
Tomcat. That way, updating Java on your Windows host won't disturb that;
anything Tomcat my host is doing (usually nothing, but still...) isn't
disturbed, etc.
As I say, not everyone does this, but it's worked well for me. Best of
luck to you.
Russ
|
|
|
|
|
Re: Insufficient access privileges to apply this update [message #989894 is a reply to message #989870] |
Sun, 09 December 2012 16:41 |
|
On 12/09/2012 09:09 AM, Ryan Klopka wrote:
> I know it might be a little late to post this but just in case anyone
> comes by this thread. I had the same problem and how I resolved it was
> just by running eclipse as administrator. You can do this by right
> clicking the icon when you start the program up and there is an item
> that is "run as administrator on it.
Windows users should resist the temptation to imitate installed software
and put Eclipse where it's got privilege problems. It's private software
for private productivity and should be installed under C:\Users.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09028 seconds