The osgi package launch failed with Require-Bundle: org.eclipse.core.runtime; pack version = "0.0.0"

I am trying to install and load an external package in a simple equinox app.

The target package comes from a set of plugins for eclipse available here: (


When I start the equinox:

$ java -jar org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar -console


I can install it

osgi> install file:///path_to/rodin-2.4-dev/org.eventb.core_2.4.0.r14093.jar
Bundle id is 1


But I have an exception when I start:

osgi> start 1
org.osgi.framework.BundleException: The bundle "org.eventb.core_2.4.0.r14093 [1]" 
  could not be resolved. Reason: Missing Constraint: Require-Bundle:  
  org.eclipse.core.runtime; bundle-version="0.0.0"


Does anyone know how to fix this error?

Perhaps this is due to the fact that the package does not include a version org.eclipse.core.runtime

, since MANIFEST.MF has the following request-package:

Require-Bundle: org.eclipse.core.runtime,org.rodinp.core;visibility:=r



source to share

1 answer

The package has a runtime kernel requirement, as you noticed. Installation just installs the package, it doesn't mean it's valid. You can check the status of a package using a command diag

i.e.osgi> diag 1

It must be in a startup-enabled state. I would bet that it is just installed for you. Check out Dude where is my kit for more information on ligaments and their conditions.



All Articles