Tuesday, August 17, 2010

Running Eclipse on a Mac Network User Account

ISSUE:

When running eclipse (galileo) using a Mac network user account a message “Workspace in use or cannot be created, choose a different one” always pops up. Then after clicking "OK", eclipse closes



SOLUTION:

Run eclipse with the following parameters:

-vmargs -Dosgi.locking=java.io


e.g.

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

OR

Add -Dosgi.locking=java.io in eclipse.ini.

eclipse.ini can be found by right clicking Eclipse.app and choosing "Show Package Content". Then go to Contents -> MacOS



REFERENCE:

http://www.spreendigital.de/blog/2010/03/26/eclipse-on-mac-os-x-workspace-error-on-nfs-mounts/comment-page-1/#comment-4486