Java Runtime Environment: _which java platform is used and what version_build 1.8.0_111-b14
openHAB version:2.4
Issue of the topic: please be detailed explaining your issue
Using the Eclipse Installer, Eclipse seems to have installed fine. All of the OpenHAB options were selected.
The main error is org.eclipse.equinox.p2.director code=10054 Cannot complete the install because of a conflicting dependency.
It is unfortunate that the error inhibits the “Finish” button, otherwise I could update the build files to resolve dependencies. To get past this I probably need to first install the IDE then pull in all of the repositories from Github.
The same fresh install procedure also fails on a Macbook Pro.
**Executing bootstrap tasks**
Java(TM) SE Runtime Environment 1.8.0_111-b14
Product org.eclipse.products.epp.package.java.latest
Workspace /Users/mattkraus/openhab2-master/ws
Project com.github.openhab2.1_infra.master
Project com.github.openhab2.2_openhab2.master
Project com.github.openhab2.3_openhab1.master
Project com.github.openhab2.4_zigbee.master
Project com.github.openhab2.5_zwave.master
Project com.github.openhab2.6_bacnet.master
Project com.github.openhab2.7_habpanel.master
Project com.github.openhab2.8_habmin.master
Project com.github.openhab2.9_esh.master
Project com.github.openhab2.10_core.master
Bundle org.eclipse.oomph.setup 1.10.0.v20180914-1031, build=3784, branch=d5b911e1f3bc20f8e0c54af3126d8150fbc53bdf
Bundle org.eclipse.oomph.setup.core 1.11.0.v20181203-0741, build=3784, branch=d5b911e1f3bc20f8e0c54af3126d8150fbc53bdf
Bundle org.eclipse.oomph.setup.installer 1.11.0.v20181107-1003, build=3784, branch=d5b911e1f3bc20f8e0c54af3126d8150fbc53bdf
Bundle org.eclipse.oomph.setup.p2 1.10.0.v20180706-1242, build=3784, branch=d5b911e1f3bc20f8e0c54af3126d8150fbc53bdf
**Performing Workspace /Users/mattkraus/openhab2-master/ws**
**Performing P2 Director (Eclipse IDE for Java Developers (2018-12))**
Offline = false
Mirrors = true
Resolving 32 requirements from 5 repositories to /Users/mattkraus/openhab2-master/Eclipse.app/Contents/Eclipse
Requirement org.eclipse.wst.xml_ui.feature.feature.group
Requirement org.eclipse.mylyn.java_feature.feature.group
Requirement org.codehaus.groovy.eclipse.feature.feature.group
Requirement org.eclipse.mylyn.git.feature.group
Requirement org.eclipse.pde.feature.group
Requirement org.eclipse.wst.jsdt.feature.feature.group
Requirement org.eclipse.wst.web_ui.feature.feature.group
Requirement epp.package.java [4.10.0,5.0.0)
Requirement org.eclipse.platform.feature.group [4.10.0,5.0.0)
Requirement org.eclipse.rcp.feature.group [4.10.0,5.0.0)
Requirement org.eclipse.buildship.feature.group
Requirement org.eclipse.eclemma.feature.feature.group
Requirement org.eclipse.egit.feature.group
Requirement org.eclipse.egit.mylyn.feature.group
Requirement org.eclipse.epp.mpc.feature.group
Requirement org.eclipse.jdt.feature.group
Requirement org.eclipse.jgit.feature.group
Requirement org.eclipse.m2e.feature.feature.group
Requirement org.eclipse.m2e.logback.feature.feature.group
Requirement org.eclipse.mylyn.bugzilla_feature.feature.group
Requirement org.eclipse.mylyn.context_feature.feature.group
Requirement org.eclipse.mylyn.hudson.feature.group
Requirement org.eclipse.mylyn.ide_feature.feature.group
Requirement org.eclipse.mylyn.wikitext_feature.feature.group
Requirement org.eclipse.mylyn_feature.feature.group
Requirement org.eclipse.tips.feature.feature.group
Requirement org.eclipse.oomph.setup.feature.group
Requirement org.eclipse.oomph.setup.jdt.feature.group
Requirement org.eclipse.oomph.setup.git.feature.group
Requirement org.eclipse.oomph.setup.workingsets.feature.group
Requirement org.eclipse.oomph.setup.projects.feature.group
Requirement org.eclipse.oomph.setup.pde.feature.group
Repository http://dist.springsource.org/snapshot/GRECLIPSE/e4.8
Repository http://download.eclipse.org/technology/epp/packages/2018-12
Repository http://download.eclipse.org/releases/2018-12/201812191000
Repository http://download.eclipse.org/oomph/updates/milestone/latest
Repository http://download.eclipse.org/egit/updates
Adding repository http://download.eclipse.org/technology/epp/packages/2018-12
Adding repository http://download.eclipse.org/releases/2018-12/201812191000
Adding repository http://download.eclipse.org/egit/updates
Adding repository http://download.eclipse.org/oomph/updates/milestone/latest
Adding repository http://dist.springsource.org/snapshot/GRECLIPSE/e4.8
Calculating requirements and dependencies.
Cannot complete the request. Generating details.
ERROR: org.eclipse.equinox.p2.director code=10054 Cannot complete the install because of a conflicting dependency.
at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.resolve(ProfileTransactionImpl.java:425)
at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl.commit(ProfileTransactionImpl.java:337)
at org.eclipse.oomph.setup.p2.impl.P2TaskImpl.perform(P2TaskImpl.java:733)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3334)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3262)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3243)
at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3143)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:575)
at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:701)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1545487021671
ERROR: org.eclipse.equinox.p2.director code=1 Only one of the following can be installed at once:
ERROR: org.eclipse.equinox.p2.director code=0 Java Development Tools Core 3.14.0.xx-201812211534-e48 (org.eclipse.jdt.core 3.14.0.xx-201812211534-e48)
ERROR: org.eclipse.equinox.p2.director code=0 Java Development Tools Core 3.16.0.v20181130-1748 (org.eclipse.jdt.core 3.16.0.v20181130-1748)
ERROR: org.eclipse.equinox.p2.director code=0 Object Teams Development Tooling Core 3.16.0.OTDT_r272_201812061254 (org.eclipse.jdt.core 3.16.0.OTDT_r272_201812061254)
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1545487021671
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.eclipse.feature.feature.group 0.0.0
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: artificial_root 1.0.0.v1545487021671
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.jdt.feature.group 0.0.0
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Compilerless feature 3.2.0.xx-201812211534-e48 (org.codehaus.groovy.compilerless.feature.feature.group 3.2.0.xx-201812211534-e48)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.headless.feature.feature.group [3.2.0.xx-201812211534-e48,3.2.0.xx-201812211534-e48]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Eclipse Groovy Development Tools 3.2.0.xx-201812211534-e48 (org.codehaus.groovy.eclipse.feature.feature.group 3.2.0.xx-201812211534-e48)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.compilerless.feature.feature.group [3.2.0.xx-201812211534-e48,3.2.0.xx-201812211534-e48]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Groovy-Eclipse Headless feature 3.2.0.xx-201812211534-e48 (org.codehaus.groovy.headless.feature.feature.group 3.2.0.xx-201812211534-e48)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.codehaus.groovy.jdt.patch.feature.group [3.2.0.xx-201812211534-e48,3.2.0.xx-201812211534-e48]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: JDI Debug UI 3.10.100.v20181120-0542 (org.eclipse.jdt.debug.ui 3.10.100.v20181120-0542)
ERROR: org.eclipse.equinox.p2.director code=0 To: osgi.bundle; org.eclipse.jdt.core [3.15.0,4.0.0)
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From: Eclipse Java Development Tools 3.16.0.v20181206-1038 (org.eclipse.jdt.feature.group 3.16.0.v20181206-1038)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.jdt.debug.ui [3.10.100.v20181120-0542,3.10.100.v20181120-0542]
ERROR: org.eclipse.equinox.p2.director code=1 Cannot satisfy dependency:
ERROR: org.eclipse.equinox.p2.director code=0 From Patch: org.codehaus.groovy.jdt.patch.feature.group 3.2.0.xx-201812211534-e48 Eclipse Java Development Tools 3.16.0.v20181206-1038 (org.eclipse.jdt.feature.group 3.16.0.v20181206-1038)
ERROR: org.eclipse.equinox.p2.director code=0 To: org.eclipse.equinox.p2.iu; org.eclipse.jdt.core [3.14.0.xx-201812211534-e48,3.14.0.xx-201812211534-e48]
Took 7 seconds.
There are failed tasks.
**Press Back to choose different settings or Cancel to abort.**
It appears to be a problem with the Oomph project configuration. I installed Eclipse first, then used Import, Projects into Workspace, and selected openHAB. The results generate the same errors.
Install Photon, it’s the latest supported version. There are known issues with the configuration of 2018-12 and openHAB, see https://github.com/eclipse/smarthome/issues/6424
The advice I posted is outdated so I’m striking it through to avoid people from follow the wrong advice if they find this post
I’m also seeing the same; I tried deleting ~/.eclipse and ~/.p2, and the target install folder. Nothing worked.
I ended up just importing the maven project into intellij and dealing with the osgi import errors. Everything else works and I can at least build from the command line.
Thank you @hilbrand. I can confirm choosing the “Proton” version of IDE allowed me to install, compile and run OH on my prev mentioned environment. I did not have to delete ~/.eclipse or remove remove previously installed versions.
Interestingly I had previously tried Eclipse Mars (as shown in the installation screenshots) but this also failed.
I know there is a discussion going on somewhere in the community about updating the installation instructions and the frequency of maintaining it. Can’t remember where I saw that though. Anyone?
Still no-go here. Python is a little messy on the Mac. If any of this is wrong please let me know.
Python3 is not required > For OpehHAB development on a Mac you typically will need two versions of Python. There is the native Python that installs with the OS and Python3 that needs to be installed manually. I already have brew installed so installing Python3 is:
_> _ > brew install python
_> _
_> 1. Native version: python --version, 2.7.10. _ > 2. Python3, python3 --version, 3.7.1
_> _ > On my machine both are installed in /usr/local/bin and this is in my PATH. > There is also “pip” and “pip3” and both are in /usr/local/bin.
_> _ > There are no environment variables other than PATH required for OpenHAB?
This all could be a big red-herring. Is Python the issue?
The main error is:
ERROR: org.eclipse.equinox.p2.director code=10054 Cannot complete the install because of a conflicting dependency.
at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
Good point. I don’t know where the requirement came from. After I deleting python3, the error message is unchanged. The error is still conflicting dependencies although I don’t know enough about oomph to understand what the conflict is.
Try going to your chosen installation folder (in my case its ~/Workspace/openhab2-master), and if Eclipse.app is there, right-click and Show Package Contents. In the package I have contents/configuration/org.eclipse.oomph.setup/setup.log.
I also had Android development tools on my Mac and thought they might be conflicting, but now it seems there was no conflict.