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

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

    I had the same problem with the Juno version.

    Several years ago I made a multiuser environment that worked perfectly, but the things changed with time. Now, my obvious solution, to change permissions, didn't work at all.

    The issue is that the lock files have special permissions that the 777 won't change. Also, it is not the best solution just to provide the 777 to a directory inside any UNIX system (Linux, AIX, etc.); then, I worked around to another solution.

    Inside the Eclipse directory you can find a eclipse.ini file. There you can put the vm arguments, although the one suggested by Eclipse won't work.

    My environment started working with this one:

    -Dosgi.configuration.area=@user.home/.eclipse
    

    This way, each user inside the environment that run the Eclipse program, will create a different .eclipse directory inside the particular home, with full rights and zero problems.

    I expect this to be useful for everyone "in the UNIX side".

提交回复
热议问题