Locking is not possible in the directory C:\eclipse\configuration\org.eclipse.osgi

前端 未结 12 2042
野趣味
野趣味 2020-12-09 02:15

I used to have Eclipse 3.5.2 working from my Limited User Account (i.e. not Administrator).

But when I upgraded to 3.6.2, Eclipse refuses to run in the Limited User

相关标签:
12条回答
  • 2020-12-09 02:24

    Well on windows, a simple work around for the same is to start Eclipse as an Administrator.

    Right Click on Eclipse icon and click on Run as administrator.

    It will solve your problem.

    Enjoy :)

    0 讨论(0)
  • 2020-12-09 02:25

    I simply added osgi.locking=none in the config.ini file, it started working. Thank you all for your help..

    0 讨论(0)
  • 2020-12-09 02:26

    Here is another reason why this message appears. It may seem an obvious thing to check, but if the read-only flag is set on the .fileTableLock file (this is in Windows, don't know about Linux) then you'll also get that Access Denied error. This arose because we were unzipping a pre-configured workspace and configuration into our users' IDE environments.

    0 讨论(0)
  • 2020-12-09 02:27

    Proper fix

    Make sure you update the permissions of Eclipse and the workspace to whatever user Eclipse runs as. You can use ps -ef | grep -i eclipse while eclipse is running to find that user. Once you have the user, you can easily use chown -R user:group ~/Documents/workspace**

    Hacky fix

    1. Change permission of eclipse itself wherever you have it installed (in my case /opt/):

      sudo chmod -R 770 /opt/eclipse

    2. Change permission of workspace wherever you have it located (in my case ~/Documents/):

      sudo chmod -R 770 ~/Documents/workspace

    Hope this helps my fellow Linux users!

    You can try this on windows with the proper syntax.

    Thanks to Frederik for your help!

    0 讨论(0)
  • 2020-12-09 02:27

    I wouldn't chmod to 777 to fix this problem. In my case the owner was root:root after a Rational Team Concert install for some RTC files and not my userid. Go to your user's home directory and ls -ltr to see what your userid and groupid are (on Ubuntu mine were both the same) and then execute the following on your eclipse subdirectory

    sudo chown -R myuserid:groupid /opt/ibm/eclipse
    
    0 讨论(0)
  • 2020-12-09 02:35

    simply copy and paste your eclipse folder to a folder in your currently logged in user space (in case you are having hard time finding one of the correct folders, just put it in C:\Documents and Settings\your_user_account_name) .And create a new workspace folder there only. Worked for me....!

    0 讨论(0)
提交回复
热议问题