Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Oomph - Eclipse IDE for Java Developers - Installation failed with an error
icon5.gif  Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1722947] Wed, 10 February 2016 12:54 Go to next message
Cedric Odin is currently offline Cedric OdinFriend
Messages: 2
Registered: February 2016
Junior Member
Hello,

I'm a newbie with Eclipse and Java so please don't lash me.

I'm trying to install Eclipse with the Oomph installer on my virtual machine (Win 7 ultimate 64bit) but it fails.
I've search for some solution in the forum and on Google but I don't found.

The installation runs well (the installation bar is green) until the last moment it displays "Installation failed with an error." in a red bar at the top of the window.

I see a lot of persons who have problems and display the logs but I don't know where to find it... I have no result when I search for "log" in the windows explorer files.

Hope you can help.

Céd
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1722989 is a reply to message #1722947] Wed, 10 February 2016 16:30 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6407
Registered: July 2009
Senior Member
Am 10.02.2016 um 14:44 schrieb Cedric Odin:
> Hello,
>
> I'm a newbie with Eclipse and Java so please don't lash me.
>
> I'm trying to install Eclipse with the Oomph installer on my virtual machine (Win 7 ultimate 64bit) but it fails.
> I've search for some solution in the forum and on Google but I don't found.
> The installation runs well (the installation bar is green) until the last moment it displays "Installation failed with
> an error." in a red bar at the top of the window.
>
> I see a lot of persons who have problems and display the logs but I don't know where to find it...
The error message in the red bar at the top of the window ends with a hyperlink "Show log". Please click on it to open
the installation log page. From there you can copy the log messages.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1723019 is a reply to message #1722989] Thu, 11 February 2016 00:56 Go to previous messageGo to next message
Brian Smither is currently offline Brian SmitherFriend
Messages: 13
Registered: February 2016
Location: Rocky Mountains, USA
Junior Member
I just tried this myself. The green bar got nearly all the way to the end, but terminated with an "Install Failed" message.

There is no link to view a log file!

In the upper right, there was an exclamation mark in a menu icon, and when clicked, I went through an installer update sequence.

I was then presented with additional info on the installer window: the location of the JDK. I am choosing C:\Program Files as the install directory.

I then clicked Install. No difference in the result. No link to a log file.

Windows 7 Ultimate 64-bit has no logs in the Event Viewer that contain any mention of actions taken by the Installer.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1723153 is a reply to message #1723019] Fri, 12 February 2016 08:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29646
Registered: July 2009
Senior Member
Brian,

I think choosing C:\Program Files is perhaps a key factor that causes
problems. That's because this folder is generally owned by the admin
writing to it generally requires elevating the process doing the writing
to admin privilege. That's a very Windows-specific behavior, and
therefore difficult to achieve in Java code that must run on all platforms.

Does it fail the same way if you install to non-system folder?



On 11.02.2016 20:51, Brian Smither wrote:
> I just tried this myself. The green bar got nearly all the way to the
> end, but terminated with an "Install Failed" message.
>
> There is no link to view a log file!
>
> In the upper right, there was an exclamation mark in a menu icon, and
> when clicked, I went through an installer update sequence.
>
> I was then presented with additional info on the installer window: the
> location of the JDK. I am choosing C:\Program Files as the install
> directory.
>
> I then clicked Install. No difference in the result. No link to a log
> file.
>
> Windows 7 Ultimate 64-bit has no logs in the Event Viewer that contain
> any mention of actions taken by the Installer.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1723238 is a reply to message #1723153] Fri, 12 February 2016 16:27 Go to previous messageGo to next message
Brian Smither is currently offline Brian SmitherFriend
Messages: 13
Registered: February 2016
Location: Rocky Mountains, USA
Junior Member
I made second reply that seems to have either been lost, or not yet moderated.

In it, I said that eventually the Installer did get Eclipse installed. Without proof (repeated experiments using the scientific method), I conclude the problem was a combination of, or one or the other of, having downloaded the installer from the Internet and/or Administrator Privileges.

I brought up it's Properties page to acknowledge and Unblock the file. Then, from the Installer's context menu, I selected Run As Administrator.

Eclipse did get installed to C:\Program Files\.

So, are you saying the Oomph Installer is java code wrapped inside a Windows Executable?

[Updated on: Fri, 12 February 2016 16:33]

Report message to a moderator

Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1723273 is a reply to message #1723238] Sat, 13 February 2016 07:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29646
Registered: July 2009
Senior Member
Brian,

I'd be concerned that when you run the installation later, that you
would need to run it as admin as well. Especially if you've installed
it using a bundle pool, which is the default...


On 12.02.2016 17:27, Brian Smither wrote:
> I made second reply that seems to have either been lost, or not yet
> moderated.
>
> In it, I said that eventually the Installer did get Eclipse installed.
> Without proof (repeated experiments using the scientific method), I
> conclude the problem was a combination of, or one or the other of,
> having downloaded the installer from the Internet, I needed to bring
> up it's Properties page and acknowledge and Unblock the file. Then,
> from the Installer's context menu, I selected Run As Administrator.
>
> Eclipse did get installed to C:\Program Files\.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1723276 is a reply to message #1723273] Sat, 13 February 2016 07:59 Go to previous messageGo to next message
Brian Smither is currently offline Brian SmitherFriend
Messages: 13
Registered: February 2016
Location: Rocky Mountains, USA
Junior Member
I don't know this "Bundle Pool", but it was there on the Advanced install screen. Didn't mess with it.

Seems to be running just fine. I'm working my way through some of the tutorials. (The system has been cold-booted between now and when Eclipse was installed.)
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1723682 is a reply to message #1722989] Wed, 17 February 2016 08:53 Go to previous messageGo to next message
Cedric Odin is currently offline Cedric OdinFriend
Messages: 2
Registered: February 2016
Junior Member
Hello gentlemen,

Thanks for your replys.

As Brian, I have no link to the log files, but reading your comments, I run the install as Administrator, even if my Windows account is an administrator one... I really don't understand that thing from Windows... Anyway, it worked and I also installed Eclipse Mars 1 in Program Files.

Thanks a lot.

Céd
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1741576 is a reply to message #1722947] Fri, 26 August 2016 01:53 Go to previous messageGo to next message
Tyson Matthews is currently offline Tyson MatthewsFriend
Messages: 1
Registered: August 2016
Junior Member
I can confirm that the reason it fail(and yes I had this same problem) is because you're installing it into the "program files" file without running the program as administrator. I did this and it worked perfectly.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1742542 is a reply to message #1722947] Sun, 04 September 2016 05:52 Go to previous messageGo to next message
Nilesh Mishra is currently offline Nilesh MishraFriend
Messages: 1
Registered: September 2016
Junior Member
After it fails to install, click on back button and again click on Java SE for installation. Now the download folder will show C\Java-neon if it doesn't then install it in C and don't install in Program files. Hope it helps.

- Nilesh
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1742728 is a reply to message #1723153] Wed, 07 September 2016 00:32 Go to previous messageGo to next message
Igor Nag is currently offline Igor NagFriend
Messages: 1
Registered: September 2016
Junior Member
Yep, Ed is absolutely correct. Once I changed the location of eclipse IDE folder and put it under \Users\MyUserName it installed with no issues. Thanks Ed.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1744615 is a reply to message #1722947] Wed, 28 September 2016 22:44 Go to previous messageGo to next message
Robert Lonnberg is currently offline Robert LonnbergFriend
Messages: 1
Registered: September 2016
Junior Member
I had this same problem and to solve it I did two things:

1. Go to the eclipse installation file. For, me this was eclipse-inst-win64.exe in my "Downloads" folder.

2. Right click on it and go to properties.

3. Remove the block that is located among the attributes (under 'Hide' and 'Write-protection') in the General tab. Apply the change.

4. Re-open the properties tab.

5. Click on "Compability" tab.

6. Press on the "Run as administator" box in the bottom of the window.

7. Apply the change.

Now, the installations should go fine. At least, it did to me. The "Run as admin" options might not be necessary, but whatever.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1744898 is a reply to message #1744615] Sun, 02 October 2016 03:31 Go to previous messageGo to next message
Josef Montanez is currently offline Josef MontanezFriend
Messages: 1
Registered: October 2016
Junior Member
Robert Lonnberg wrote on Wed, 28 September 2016 22:44
I had this same problem and to solve it I did two things:

1. Go to the eclipse installation file. For, me this was eclipse-inst-win64.exe in my "Downloads" folder.

2. Right click on it and go to properties.

3. Remove the block that is located among the attributes (under 'Hide' and 'Write-protection') in the General tab. Apply the change.

4. Re-open the properties tab.

5. Click on "Compability" tab.

6. Press on the "Run as administator" box in the bottom of the window.

7. Apply the change.

Now, the installations should go fine. At least, it did to me. The "Run as admin" options might not be necessary, but whatever.


Robert's solution worked for me! Thanks Robert!
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1745048 is a reply to message #1722947] Tue, 04 October 2016 13:30 Go to previous messageGo to next message
Martin Hill is currently offline Martin HillFriend
Messages: 1
Registered: October 2016
Junior Member
Mine too appears to have been a permissions problem (installing to the C:\Users\ directory).

There was no sensible error message ("Installation Failed with an error" is not exactly helpful!) and no link to a log file. Surely we can do better than this.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1745549 is a reply to message #1745048] Wed, 12 October 2016 11:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29646
Registered: July 2009
Senior Member
I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=505755 and address the issues related to this. The dialog now validates the full path to ensure that the target location is not read-only before trying to install to it. The log itself couldn't be created because it too is created in the read-only location, so now even if the location is read-only (which should never happen because we check up front), the log file will be created in the temp folder so there will always be a log if there is a failure.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1748963 is a reply to message #1722947] Wed, 30 November 2016 14:23 Go to previous messageGo to next message
Maël Soulié is currently offline Maël SouliéFriend
Messages: 1
Registered: November 2016
Junior Member
I have find a solution to this problem : when I run eclise installer in administrator mode, it works.


My configuration : Windows 7 Professionnal 64 bit
icon4.gif  Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1758140 is a reply to message #1744615] Thu, 23 March 2017 19:43 Go to previous messageGo to next message
Glenn Russell is currently offline Glenn RussellFriend
Messages: 7
Registered: October 2014
Junior Member
I am trying to install Eclipse Helios on Windows 10. I get an error message that says it cannot install and tells me to see the log file. I looked at the log referenced and couldn't see anything that told me what was wrong.

The log file is attached.

I have had this error occur on two other installation or execution attempts. Can someone help me figure out what is wrong and what is needed to fix this problem?
icon4.gif  Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1758141 is a reply to message #1744615] Thu, 23 March 2017 19:43 Go to previous messageGo to next message
Glenn Russell is currently offline Glenn RussellFriend
Messages: 7
Registered: October 2014
Junior Member
I am trying to install Eclipse Helios on Windows 10. I get an error message that says it cannot install and tells me to see the log file. I looked at the log referenced and couldn't see anything that told me what was wrong.

The log file is attached.

I have had this error occur on two other installation or execution attempts. Can someone help me figure out what is wrong and what is needed to fix this problem?
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1758168 is a reply to message #1758141] Fri, 24 March 2017 08:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29646
Registered: July 2009
Senior Member
You're running with Java 9. The Equinox runtime does not work with Java 9 and will not work with Java 9 until the Oxygen release. So to use older releases and older versions of the installer you must have Java 8 and choose Java 8 as the JRE uses by the installation.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1763812 is a reply to message #1722947] Sat, 20 May 2017 10:58 Go to previous messageGo to next message
James Stewart is currently offline James StewartFriend
Messages: 2
Registered: May 2017
Junior Member
No dice with 'run as admin', unblock etc etc etc. I am very near to giving up on Eclipse for ever, when even getting to the start line is so difficult. I am trying to get a school pupil up and running, and rehearsing the process myself, but using Eclipse is going to put him off IT for good. With Visual Studio, I could easily direct him to do the installation and have a console program running in minutes (excl the long installation wait). VS is an absolute breeze compared to this quagmire.

FWIW, here is my log info:

[2017-05-20 18:41:19] ERROR: org.eclipse.equinox.p2.engine code=4 An error occurred while collecting items to be installed
at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$3.commit(ProfileTransactionImpl.java:547)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:340)
at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:729)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3324)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3252)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3233)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3133)
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.installPerform(SimpleVariablePage.java:1289)
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.access$32(SimpleVariablePage.java:1166)
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage$20.run(SimpleVariablePage.java:1111)
ERROR: org.eclipse.equinox.p2.engine code=0 session context was:(profile=C__Users_James_eclipse_java-neon2_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 No repository found containing: osgi.bundle,org.apache.commons.codec,1.9.0.v20170208-1614
ERROR: org.eclipse.equinox.p2.artifact.repository code=0 No repository found containing: osgi.bundle,org.apache.httpcomponents.httpclient,4.5.2.v20170210-0925
ERROR: org
[etc]

I feel that I should not have to google for hours just to get the thing installed. This seems like a quite avoidable waste of time (an unhandled exception?). The machine is Windows 7 and I have numerous versions of VS and Android Studio installed.

JAS

Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1763936 is a reply to message #1763812] Tue, 23 May 2017 08:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 29646
Registered: July 2009
Senior Member
You don't provide much context. You shouldn't need admin access to install into the default user-home location (if that's what you're expecting students will do). The failure log suggests to me that all the update site content metadata was loaded correctly (so the network must be functioning okay) but while downloading artifacts, the artifact metadata was not found so the process doesn't know from where to download the artifacts. That could be a network issue or firewall issue. Also, a few weeks ago, the web master changed the behavior of the download server so that it "transparently" redirects requests to mirrors, and perhaps it's redirected to a mirror that itself had a network problem or had not correctly mirrored the artifacts. In any case, you can always download a package instead of using the installer to install it:

https://www.eclipse.org/downloads/eclipse-packages/

But then you need to be sure the right version of Java is installed (or the eclipse.exe will just fail with exit code 13) and that the student is able to unzip the zip file.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1763970 is a reply to message #1763936] Tue, 23 May 2017 13:32 Go to previous messageGo to next message
James Stewart is currently offline James StewartFriend
Messages: 2
Registered: May 2017
Junior Member
Thank you for your helpful reply and explanation of the possible cause. There is not much context to give, as it is a first-time install and (in the student's case) could be on a new install of Windows 7|8|10. The idea of downloading all first certainly appeals. The page cited has this:
Hint: You will need a Java runtime environment (JRE) to use Eclipse (Java SE 8 or greater is recommended). All downloads are provided under the terms and conditions...
Is this the version requirement you refer to?
For someone new to all this, I must say that I find the various versions of Eclipse confusing. The listed "Eclipse for..." variants seem to refer to what would simply be a different project type in Visual Studio, yet it seems that I have to decide what types of projects I am going to work on at download time. If I download the ...for Android one and then want to do some C coding, do I have to download the C/C++ one then? I assume the "Eclipse Installer" is just a downloader of a selected package. But then what is "Eclipse Neon" relative to all these listed IDEs? This seems to be yet another separate download... (see here ). Sorry to go on, but the landscape is somewhat confusing, and I am certain I would be asked all these questions and more by any number of students. A link such as "Just give me Eclipse, I'll decide on project types later" might help! Ok, the IDE might be nothing without some added bits, but this could provide a very basic feature set (or perhaps ALL features!) such as building a 'hello world' console application (in Java, say), which is what most total beginners start with.
I downloaded the Java EE version, unzipped the file, and ran eclipse.exe. The splash screen showed Eclipse Neon.3 - I am now wondering what ".3" means, when the download page refers to Neon 4.6. I was finally able to run a console Java application. I then downloaded the Android version of the IDE and this does seem to be a quite separate IDE (are preferences shared/sharable...?). I tried starting a new project, and got an empty message box, followed by one with the message "Errors occurred during the build. Errors running builder 'Android Resource Manager' on project 'EclipseApp1'. java.lang.NullPointerException". There may be other things to configure for Android (and perhaps some conflcit with an Android Studio setup).
Enough for now - but hardly a straightforward or ideal experience and the "installer" seems to be something to avoid, for me. However, I do realise that all this software is (or can be) free.
Re: Oomph - Eclipse IDE for Java Developers - Installation failed with an error [message #1763987 is a reply to message #1763970] Tue, 23 May 2017 16:31 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29646
Registered: July 2009
Senior Member
Yes, best to ensure Java 8 is installed and that the bitness (32/64) matches the bitness of the Eclipse version you install.

I'm not sure why you have problems with the installer. I'm concerned that it's related to "transparent" mirroring and I've already reported problems related to this to the web master.

In any case, all your other questions are general ones that have been asked many times on the newcomers forum. The packages are just convenient collections of features. You can install C/C++ support into any package that you start with. Each year there is a release. The most recent one was Neon. The next one will be Oxygen. Then there are update releases to those, so Neon.3 is the third update release (with various bug fixes and enhancements).
Previous Topic:Unable to read repository at: http://download.eclipse.org/releases/neon/201705151400/content.xml.xz.
Next Topic: how can we create own p2 repository for oomph setup profile.
Goto Forum:
  


Current Time: Tue Nov 13 00:05:44 GMT 2018

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

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

Back to the top