我的环境是fedora 20,eclipse for ee 是2014年5月目前的最新版,且为官网下载。出错的状况如下:
解压后能完美运行,重起后则报错:Locking is not possible in the directory "/usr/eclipse/configuration/org.eclipse.osgi". A common reason is that the file system or Runtime Environment 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/eclipse/configuration/org.eclipse.osgi的权限,都是当时能行,重起后又报错。后来发现我fedora的登陆帐号ksisn不属于sudoers管理组,也未设置过密码。最后将ksisn提升到sudoers组中就不出错了。linux新人勿喷。
来源:oschina
链接:https://my.oschina.net/u/948352/blog/262858