Search
Calendar
May 2025
S M T W T F S
« Apr    
 123
45678910
11121314151617
18192021222324
25262728293031
Archives

PostHeaderIcon Crash of Eclipse 3.6.1 on Linux x86 64 bits, because of OSGi file locking

Case:

On launching Eclipse 3.6.1 under Linux 64bits, I get the following error:

Locking is not possible in the directory "/opt/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.  /opt/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)

Fix:

Edit /opt/eclipse/eclipse.ini, add or move the line:

-Dosgi.locking=none

at the end of the file, or at least after the argument -vmargs

Leave a Reply