System.err.println("Ignoring osgi.bundles element " + name);
System.err.println("Can not install/find the " + name);
	private static String[] loadBundles() {		long startTime = System.currentTimeMillis();		ServiceReference reference = context.getServiceReference(StartLevel.class.getName());		StartLevel start = null;		if (reference != null) 			start = (StartLevel)context.getService(reference);		String[] bundles = getArrayFromList(System.getProperty("osgi.bundles"));					String syspath = getSysPath();		Vector installed = new Vector();		Vector ignored = new Vector();		for (int i = 0; i < bundles.length; i++) {			String name = bundles[i];			if (name == null)				continue;			try {				int level = -1;				int index = name.indexOf('@');				if (index >= 0) {					String levelString = name.substring(index + 1, name.length());					level = Integer.parseInt(levelString);					name = name.substring(0, index);			}				String location = searchForBundle(name, syspath);				if (!isInstalled(location)) {					Bundle bundle = context.installBundle(location);					if (level >= 0 && start != null)						start.setBundleStartLevel(bundle, level);					installed.addElement(bundle);				} else 					ignored.addElement(name);						} catch (Exception ex) {				System.err.println("Ignoring osgi.bundles element " + name);				ex.printStackTrace();				ignored.addElement(name);				return null;			}		}		refreshPackages((Bundle[])installed.toArray(new Bundle[installed.size()]));					Enumeration e = installed.elements();		while (e.hasMoreElements()) {			Bundle bundle = (Bundle)e.nextElement();			try {				bundle.start();							} catch (BundleException ex) {				System.out.println("Error starting " + bundle.getLocation());				ex.printStackTrace();			}		}		context.ungetService(reference);		if (DEBUG)			System.out.println("Time loadBundles in the framework: " + (System.currentTimeMillis() - startTime));		return (String[])ignored.toArray(new String[ignored.size()]);	}