Skip to main content



      Home
Home » Newcomers » Newcomers » Registry Directory Not Available, Mac Install Error(Unable to install new eclipse version on Mac for new user)
Registry Directory Not Available, Mac Install Error [message #1799427] Thu, 06 December 2018 11:44 Go to next message
Eclipse UserFriend
I originally had an older version of Eclipse on a user that has since been deleted. When I try to install a new version within a new user, somehow the Eclipse Installer is searching for a directory that was stored with the deleted user. I'm not sure how it's even aware of the old user but I'm looking for a way to ignore the old user altogether and install directly to my new user.

If you copy and paste this topic description in Google the first StackOverflow page is exactly what I'm dealing with, but none of the suggestions listed have worked. (I'd copy the url but since I'm new I'm not allowed to.)

Attached is a screenshot of the error and the stacktrace.

Any ideas?

Thanks

[Updated on: Thu, 06 December 2018 12:32] by Moderator

Re: Registry Directory Not Available, Mac Install Error [message #1799454 is a reply to message #1799427] Thu, 06 December 2018 23:33 Go to previous messageGo to next message
Eclipse UserFriend
It sounds like perhaps you copied some things from the old user to the new user, in particular the ~/.eclipse folder. In ~/.eclipse/org.eclipse.oomph.p2/*.info will be absolute file system locations (of the agent and the shared bundle pool) that are only appropriate for the original user. In fact many things in the ~/.eclipse folder may not be sensible/correct when copied from one user to another. If this is a fresh new user account and is your first installation of Eclipse for that user, best to rename/delete the ~/.eclipse folder.
Re: Registry Directory Not Available, Mac Install Error [message #1799483 is a reply to message #1799454] Fri, 07 December 2018 09:08 Go to previous message
Eclipse UserFriend
Yes! That did the trick! Thanks!!!

Steps for successful install:
1. Delete .eclipse directory in new user
2. Attempt to install
3. Install fails with an error
3b. Delete the .p2 directory from new user (not sure if this affected anything)
4. The new install will have readded a .eclipse directory. In that directory, go to .eclipse/org.eclipse.oomph.p2
5. Edit the default.info file and change the first line so that it has the new user in it instead of the old
6. Attempt install again (should be successful this time)

Original default.info file contents

org.eclipse.oomph.setup.ui=/Users/<old user>/.p2/pool
org.eclipse.oomph.setup.ui\:agent=/Users/<new user>/.p2

Edited dafault.info file contents

org.eclipse.oomph.setup.ui=/Users/<new user>/.p2/pool
org.eclipse.oomph.setup.ui\:agent=/Users/<new user>/.p2

[Updated on: Fri, 07 December 2018 09:27] by Moderator

Previous Topic:Single RCP product for windows and Linux
Next Topic:Auto Complete
Goto Forum:
  


Current Time: Wed Jul 09 22:58:53 EDT 2025

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

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

Back to the top