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

前端 未结 12 2048
野趣味
野趣味 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: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!

提交回复
热议问题