Avatar of naseeam
Flag for United States of America asked on

Why system won't allow installation of eclipse IDE in Root File System ?

The system won't allow me to install eclipse IDE to my root file system in hard disk?

From File Explorer, I went to Properties -  Security  -  Write.

I have new OMEN by HP laptop.  Model 15-dc0051nr.  8th generation intel core i7 processor.

Please see attached error message.
* EclipseWindows 10InstallationEditors IDEs

Avatar of undefined
Last Comment

8/22/2022 - Mon
David Johnson, CD

C:\ is protected space, install to a subfolder

Please see attached error message.

Nothing was attached
Lee W, MVP

Why would you WANT to install it to the root of the file system?  That's just bad.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
John Tsioumpris

Well probably if you try you will manage to install Eclipse to whereever you like...either C:\ or D:\ or Program Files...you just need to change permissions...but...DON'T do it...by forcing Eclipse to install on a "destination" that is not OS approved you are starting a journey of issues/errors  ..you name it...
I also wanted to install Eclipse on Program Files.(win10) i felt it was natural ...to it on install Program Files...but this was not the case...at first it was OK..then something felt like it was not working as it should...i couldn't make some changes...then a much needed plugin wouldn't install...or rather it installed but was not showing...started searching but no answer...even from the plugin developer....i was banging my head...my other installation on my older computer (Windows 7) was working fine...and then it struct me...deleted everything ...and let install on my user folder...( i know it totally trashes the user folder with a load of folders ....you just can't avoid it)..   presto everything was back to normal...i could install everything..my plugins were working..everything great...and then due to a lot of work i had to abandon Java due to the love of MS but this is another story....:)

I'm not trying to install to root folder.  I was trying to install to C:\Program Files\eclipse

Attach is the error message.

At work computer, I have eclipse installed to C:\Program Files\eclipse

I had installed in "Program Files" subfolder in other computers for years.

Is this something new that user programs cannot be installed in "Program Files" folder.
I had already change permissions to "Full control".  But still unable to install.  How do I undo the permissions ?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
David Johnson, CD

c:\Progam Files
C:\Program Files (x86)

These are all protected locations only Trusted Installer has rights to install. As mentioned above(by John)  install it to some other folder i.e. c:\eclipse to prevent problems later on

installation to C:\eclipse isn't allowed either.

See attached.
Shaun Vermaak

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Installing as administrator worked.  Thank you very much!

Expert found root cause of the problem.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
John Tsioumpris

just try to add some plugins....just saying

"Expert found root cause of the problem" - not quite, he found the cure. The root cause is that someone has changed permissions on the c:\ drive itself. By default, you would be able to install to c:\eclipse, but setup, when not launched elevated was not allowed to create a folder eclipse on c: - that is the root cause.

So you should talk to the one in charge for administering your system, why the permissions of c: are non-standard, or you will possibly run into this problem again, soon. We have set the permissions exactly that way ourselves on some shared devices, because we don't want people to create folders on c:, which other users might be able to browse.
John Tsioumpris

Well the installer has no permissions to write to C:\ and subsequently to create folders on C:\..unless C;\Eclipse was created previously..
I must stress out that messing with the installation is a BAD idea...i have done all the "cures" and "fixes" my self when i was trying to install it on Program Files...so leave to install it where it wants and forget about setting it up as you like...remember that elevating the installer will allow you to install it wherever you like it but the internal mechanism of Eclipse for updates/plugins will fail miserably because it won't have the necessary permissions to create folders/files ...etc
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

"Well the installer has no permissions to write to C:\ and subsequently to create folders on C:\..unless C;\Eclipse was created previously.." - and that is not normal. Writing to c: is prohibited - normal. Creating subfolders is prohibited on his system and that is not normal.