Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE build failing with java 11.(Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-11 Host plug-in JavaSE_0.0.0 has not been found.)
PDE build failing with java 11. [message #1836338] Tue, 29 December 2020 15:01 Go to next message
ganesh rao is currently offline ganesh raoFriend
Messages: 21
Registered: December 2015
Junior Member
Hello All,
I am facing issue in running pde build with java 11

Getting below error:

Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-11
Host plug-in JavaSE_0.0.0 has not been found.

I am using eclipse-SDK-4.10-win32-win32-x86_64 with pde version 3.10.200.v20181008-0641
I have tried work around adding p2.inf file mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=545653 but didn't work.


Log
Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-11
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.ui_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.ui.handlers_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.ui.part_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.ui.plugin_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.ui.progress_0.0.0.
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.ui.services_0.0.0.
[java] [eclipse.buildScript] Host plug-in JavaSE_0.0.0 has not been found.

Re: PDE build failing with java 11. [message #1867536 is a reply to message #1836338] Thu, 27 June 2024 11:53 Go to previous message
Teodor Dimache is currently offline Teodor DimacheFriend
Messages: 1
Registered: June 2024
Junior Member
Hi, I have been struggling with the same error after updating from SDK 3.8.2 to 4.27 in my PDE build.
When I was running this build with the older Eclipse, I had this parameter in the PDE build arguments to point to the location of the rt.jar for Java 8: JavaSE-1.8=${java.home}/lib/rt.jar:${java.home}/lib/jce.jar:${java.home}/lib/jsse.jar.
I assumed I had to add something similar for Java 11, so I put in JavaSE-11=${java.home}/lib/, as Java 11 no longer contains these jars.

This parameters is what was causing the same error for me, I guess the PDE build was actually looking to resolve the location of JavaSE-11, but it was not finding what it was expecting and therefore not finding any Execution Environment for JavaSE-11. I just deleted the parameter and the build was fine.
Previous Topic:I am getting Error while calling Birt Report
Goto Forum:
  


Current Time: Wed Sep 25 21:32:21 GMT 2024

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

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

Back to the top