Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse on Mac doesn't persist recent workspaces
icon5.gif  Eclipse on Mac doesn't persist recent workspaces [message #1760120] Sun, 23 April 2017 10:06 Go to next message
Seiji Komatsu is currently offline Seiji KomatsuFriend
Messages: 3
Registered: May 2012
Junior Member
Both Eclipse 4.6.2 and 4.6.3 don't persist recent workspaces on macOS Sierra.

At the first time of launching Eclipse,
Eclipse suggests me to use "/Users/USERNAME/Documents/workspace" as a workspace.

Then I changed it to other workspace (here, assuming that "/Users/USERNAME/workspaces/app1"), Eclipse will of course launch with no problem.

After closing Eclipse and rebooting OS (AFAIK, rebooting is not a requirement for this problem, but rebooting always cause the problem!), when I again launch Eclipse, then recent workspaces are empty and I'm again suggested to use "/Users/USERNAME/Documents/workspace".

AFAIK, this problem is not caused on MacOSX El Capitan.
And from my investigation, many "org.eclipse.platform_4.6.3_NNNNNNN_macosx_cocoa_x86_64" are created under ~/.eclipse for some reasons.

$ ls -l ~/.eclipse                                                                                                                         ~
total 0
drwxr-xr-x  3 username  staff  102 Apr 23 18:28 org.eclipse.epp.logging.aeri
drwxr-xr-x  4 username  staff  136 Apr 23 18:34 org.eclipse.oomph.p2
drwxr-xr-x  3 username  staff  102 Apr 23 18:35 org.eclipse.oomph.setup
drwxr-xr-x  5 username  staff  170 Apr 23 18:41 org.eclipse.platform_4.6.3_1325096807_macosx_cocoa_x86_64
drwxr-xr-x  6 username  staff  204 Apr 23 18:35 org.eclipse.platform_4.6.3_539655064_macosx_cocoa_x86_64
drwxr-xr-x  5 username  staff  170 Apr 23 18:28 org.eclipse.platform_4.6.3_881243932_macosx_cocoa_x86_64


Anybody help me to fix this problem?
Re: Eclipse on Mac doesn't persist recent workspaces [message #1760123 is a reply to message #1760120] Sun, 23 April 2017 12:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 28962
Registered: July 2009
Senior Member
It's probably caused by this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=507328
Re: Eclipse on Mac doesn't persist recent workspaces [message #1760124 is a reply to message #1760123] Sun, 23 April 2017 12:34 Go to previous message
Seiji Komatsu is currently offline Seiji KomatsuFriend
Messages: 3
Registered: May 2012
Junior Member
Thank you,

I've resolved this problem by:

> - move your Eclipse.app via the finder to a different location

I had previously installed Eclipse.app by extracting tarball with tar command.
So I've just do as follows:

- Extract by double-clilcking in Finder
- Moved Eclipse.app to my favorite location (/opt/eclipse/jee-neon)
- Launch Eclipse.app from Finder

This completely fixed my problem, thanks!
Previous Topic:Is Android Support Reposity includeable in Eclipse Neon?
Next Topic:Read and Writes From A .txt file to a 2-d array
Goto Forum:
  


Current Time: Sat Nov 18 16:01:58 GMT 2017

Powered by FUDForum. Page generated in 0.01978 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software