if (!hasPlatformAdmin()) {
System.err.println("This command is only supported on Equinox.");
return null;
}
ServiceReference ref = bundleContext.getServiceReference(PlatformAdmin.class.getName());
PlatformAdmin platformAdmin = (PlatformAdmin) getService(PlatformAdmin.class, ref);
try {
State systemState = platformAdmin.getState(false);
Iterator<Long> iterator = ids.iterator();
while (iterator.hasNext()) {
Long id = iterator.next();
BundleDescription bundle = systemState.getBundle(id);
if (bundle == null) {