Community
Participate
Working Groups
'org.eclipse.equinox.util' specifies 'OSGi/Minimum-1.1' as BREE. I can find other JREs in /org.eclipse.sdk-feature/libs but not this one. ==> where does the releng build fetch that JRE and how can I get hold on such a JRE, so that I can get rid of the following build path error on 'org.eclipse.equinox.util': Build path specifies execution environment OSGi/Minimum-1.1. There are no JREs installed in the workspace that are strictly compatible with this environment.
OSGi/Minimum-1.1 is a subset of J2SE 1.4 and Foundation 1.1. My workspace shows all Java SE installations as being compatible. Are you saying when you go to the preferences for execution environments none of you installed Java SE environments show up as compatible?
(In reply to comment #1) > OSGi/Minimum-1.1 is a subset of J2SE 1.4 and Foundation 1.1. My workspace > shows all Java SE installations as being compatible. Are you saying when you > go to the preferences for execution environments none of you installed Java SE > environments show up as compatible? Compatible is not the same as being strictly compatible: go to some other EE and you will see bold entries for the exact matches. Also, simply import the project as binary project and you will see the warning (I have set that to error in my workspace).
Why do I have this set as error? Because using a compatible super-set is dangerous because one might easily use methods which will not be available at runtime when using the specified BREE.
In the build I think we use Foundation 1.1 jar for the profile or we use the profile jars provided by org.eclipse.osgi/osgi at http://dev.eclipse.org/viewsvn/index.cgi/org.eclipse.equinox/framework/bundles/org.eclipse.osgi/osgi/?root=RT_Project That has a number of ee jars and ee files you can use to configure the ee into Eclipse. I also install the EE profiles for API tooling that will catch errors if your reference API outside of your specified BREEs.
> the profile jars provided by org.eclipse.osgi/osgi at > http://dev.eclipse.org/viewsvn/index.cgi/org.eclipse.equinox/framework/bundles > /org.eclipse.osgi/osgi/?root=RT_Project That worked for me, thanks!