Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Odd install location(Installing E Modeling Tools w/ Oomph offers strange default install folder)
Odd install location [message #1814378] Tue, 10 September 2019 13:26 Go to next message
Thomas Sullivan is currently offline Thomas SullivanFriend
Messages: 5
Registered: September 2019
Junior Member
Running the Eclipse Installer by Oomph for Eclipse Modeling Tools results in Oomph offering to install Java 1.8+ VM in C:\Program Files\Java\jdk-12.0.1 (Current) as the default install folder. This makes sense.

It also offers to install Eclipse in C:\Users\[username]\eclipse\modeling-2019-062 as the default install folder. This makes less sense. Why is Eclipse not installed in C:\Program Files as most software is? I'm running W10 V1803 .

Thanks!
Re: Odd install location [message #1814385 is a reply to message #1814378] Tue, 10 September 2019 17:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30463
Registered: July 2009
Senior Member
Generally Eclipse is self updating and it changes the structure underneath the installation folder (if you do updates and to store configuration-scoped preferences) which it can only do if those things are all read/write for the user. It is possible to create a shared-readonly installation, but even in that case, Eclipse will create a "surrogate" installation folder in <user-home>/.eclipse/<some-cryptiic-id> and if you do updates or install additional features, it will create additional structure there in your home folder. So installing into C:\Program Files is generally not going to work unless you take special steps. That's of course why you can run the installer without admin access (and why the installer doesn't mess with your system registry).
Re: Odd install location [message #1814393 is a reply to message #1814385] Tue, 10 September 2019 20:13 Go to previous messageGo to next message
Thomas Sullivan is currently offline Thomas SullivanFriend
Messages: 5
Registered: September 2019
Junior Member
Aha. Got it. Many thanks!
Re: Odd install location [message #1814419 is a reply to message #1814393] Wed, 11 September 2019 08:21 Go to previous messageGo to next message
Thomas Sullivan is currently offline Thomas SullivanFriend
Messages: 5
Registered: September 2019
Junior Member
Ok. Now a related problem. It turns out that Eclipse was already installed on my machine. In fact I installed it myself a while back. But when I didn't see it in Settings|Apps & features, I thought I must have uninstalled it at some point. Of course, as you've noted, that's not how Eclipse works. So, now that I've installed Eclipse anew, without deleting the prior version, what should I do?

Re: Odd install location [message #1814438 is a reply to message #1814419] Wed, 11 September 2019 12:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30463
Registered: July 2009
Senior Member
Each installation is independent so you can delete either one at any time; i.e., it's safe to delete the old one if you no longer want to use it again.

If you've installed using the installer, the installation's (by default) use a shared bundle pool, so the installation folder is actually very tiny and all the feature/plug-in jars are in the pool. You can use the installer's menu to see where your pool is located (<home>/.p2/pool by default) and you can garbage collect it, i.e., to remove things from the pool that are no longer used by any installation on your machine.
Re: Odd install location [message #1814463 is a reply to message #1814438] Wed, 11 September 2019 18:23 Go to previous messageGo to next message
Thomas Sullivan is currently offline Thomas SullivanFriend
Messages: 5
Registered: September 2019
Junior Member
Deleted these folders: .eclipse, eclipse and ,p2 in C:\Users\[username] and .gradle which seems to have also been installed for some reason. Reran the Oomph installer. Now have .eclipse, eclipse and .p2 back, and Eclipse seems to run fine. Not that I am sure of that, since I'm quite the newb on this. But so far, so fine.

How can I tell what things in .p2 aren't used anymore? I'd love to get rid of any junk that it contains.
Re: Odd install location [message #1814472 is a reply to message #1814463] Thu, 12 September 2019 03:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30463
Registered: July 2009
Senior Member
Don't make a habit of deleting all these things. E.g., deleting the .p2 folder will destroy all installations that are using it.

The menu (upper right corner) on the installer has Bundle Pools... that you can use to manage the pool, including "Cleanup Agent". Also in the IDE under Window -> Preferences -> Oomph -> Bundle Pools there is access to the same dialog.
Re: Odd install location [message #1814495 is a reply to message #1814472] Thu, 12 September 2019 08:19 Go to previous message
Thomas Sullivan is currently offline Thomas SullivanFriend
Messages: 5
Registered: September 2019
Junior Member
I didn't like to delete them in the first place, frankly, but I thought that all things considered it was the safest way to go. Now that I know how Eclipse works, I'll avoid that in the future.

Re cleanup, I tried the IDE method that you identified, and it worked great. Apparently I have nothing to clean up, which is super. But re the Oomph installer, your post reminded me of something. In an instructional doc from some university that uses Eclipse (read after the new install unfortunately), it said that when installing Eclipse using Oomph if the Oomph hamburger shows a dot that dot indicates that the installer needs updating. I did not do this. Will this cause a problem? If so, how should I correct it?
Previous Topic:Help with BIRT Installation
Next Topic:Create module-info.java popup
Goto Forum:
  


Current Time: Sun Sep 22 20:24:51 GMT 2019

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

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

Back to the top