Link to home
Start Free TrialLog in
Avatar of naseeam
naseeamFlag 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.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

C:\ is protected space, install to a subfolder
Please see attached error message.

Nothing was attached
Why would you WANT to install it to the root of the file system?  That's just bad.
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....:)
Avatar of naseeam

ASKER

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
Avatar of naseeam

ASKER

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 ?
eclipse_install_error.PNG
c:\
c:\Progam Files
C:\Program Files (x86)
C:\Windows

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
Avatar of naseeam

ASKER

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

See attached.
error.PNG
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of naseeam

ASKER

Installing as administrator worked.  Thank you very much!

Expert found root cause of the problem.
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.
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
"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.