Permission denied and invalid configuration location

Hello Experts,
When I try to configure Eclipse in the system, I stuck up with the error. It says permission denied and invalid configuration location. I login as an administrator but I do not understand why I got this error message. I tried to reinstall it again from the beginning but no luck. Please suggest me some solutions.
Thanks.

Invalid Configuration Location
Locking is not possible in the directory “/usr/local/eclipse/configuration/org.eclipse.osgi”. A common reason is that the file system or Runtime Enviroment does not support file locking for that location. Please choose a different location, or disable file locking passing “ – Dosgi.locking=none” as a VM argument.
/usr/local/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
