When try to start my Eclipse I am getting the following error:
The configuration area at '/usr/lib/eclipse/configuration' could not be created. Please choose a writable location
Can anyone help me out in this?
When try to start my Eclipse I am getting the following error:
The configuration area at '/usr/lib/eclipse/configuration' could not be created. Please choose a writable location
Can anyone help me out in this?
I had a similar problem on a linux machine, where eclipse was unpacked as root and started by a regular user.
This kind of setup is call "shared install" (see Eclipse Help).
You will encounter problems, if you run/ran your eclipse as root, as in this case, a "private install" is assumed and the configuration directory is so-called initialized.
The solution is, to restore (revert) the configuration structure from the inital tar.gz/zip-package. Here, is a sample dir structure from Eclipse Kepler, mainly consisting of a config.ini file:
configuration/ configuration/org.eclipse.equinox.simpleconfigurator configuration/org.eclipse.equinox.simpleconfigurator/bundles.info configuration/config.ini configuration/org.eclipse.update configuration/org.eclipse.update/platform.xml After restoring the files, you can start over and execute eclipse from an regular user account.
regards.
The eclipse install area should probably be either writeble by you or not. If it is, then it will use that configuration directory. If not, then it will use the configuration directory it creates in your home directory.
If the eclipse install area is writable by you, but its configuration directory is not, then you may get this error.
The root cause of this error message is an outdated (or broken) User Shell Folder configuration at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop that Java uses to set the user.home path variable. You will find out that your current %USERPROFILE% has a value of C:\User[username] or any other value like C:\User[username].MYDOMAIN, but not the path C:\User[username].MYDOMAIN.000
Open cmd and run the following command.
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Desktop" /t REG_SZ /d "%USERPROFILE%\Desktop" /f