Disable file locking in Eclipse for OS X

Eclipse will refuse to use a workspace on an automounted OS X Server home directory.
Workspace in use or cannot be created

To remedy this problem do the following:
  • Right click the Eclipse application and select "Show Package Contents"
  • Contents->MacOS
  • Edit the eclipse.ini file in a text editor
  • Add -Dosgi.locking=none to the line below -vmargs


Comments

  1. thx a lot for this solution! i'd been desparately trying to open eclipse only to find the same error again and again...

    ReplyDelete
  2. Yay, thanks! I can now open a workspace on a my shared network drive.

    ReplyDelete

Post a Comment

Popular Posts