Eclipse on Mac OS X – Workspace error on NFS mounts

Friday, March 26th, 2010 | Dennis D. Spreen | Eclipse, Mac OS X

If you are using Eclipse on Mac OS X and experience a “Workspace in use or cannot be created, choose a different one” after moving your workspace to a NFS share, try running eclipse with these arguments:

./eclipse -vmargs -Dosgi.locking=java.io

or you may add this line to your /Application/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini file:

-Dosgi.locking=java.io

Tags: , , , , , ,

13 Comments to Eclipse on Mac OS X – Workspace error on NFS mounts

pdemaret
January 18, 2011

I confirm it also works when your worskpace is located on an AFP share, in my case on a Mac OSX Server.
Thanks a lot !

Dennis
January 19, 2011

Thanks for that info!

Joseph Kreman
January 31, 2011

Thanks, I’ve been looking for that hint a loong time

Friggles
September 19, 2011

Had exactly that problem, your solution worded great, thanks!

Woiff
October 3, 2011

Yup, totally worked. Thanks

Jason McCreary
December 9, 2011

I’ve come back to this many times. Thanks for sharing.

Shaun
January 10, 2012

Thank you!!! This just saved me a ton of time debugging

beezle
February 1, 2012

Was having same issue just now on freebsd.. i read suggestion elsewhere to mount with local locking ie nolockd (may be locallocks depending on implementation)

this seems to work too. However, I wonder if one way is better (less prone to failure/corrpution) than the other?

Henri
April 16, 2013

Wow ! Thanks for sharing ! Saves hours of searching and searching…

Jason
February 25, 2014

Thanks!!

Mahesh
May 13, 2014

Thanks. This trick helped me to solve issue was looking for solution for 8 days.

stevan
September 2, 2014

Totally worked. Thanks 🙂
mac os-> VW ware Ubuntu

Leave a comment

About Dennis D. Spreen

I'm an avid programmer working on a variety of platforms in a variety of languages with a wide technical interest.

Search

QR Code

Categories