if (org.eclipse.osgi.service.environment.Constants.OS_HPUX.equals(EnvironmentInfo.getDefault().getOS())) {
if (org.eclipse.osgi.service.environment.Constants.OS_HPUX.equals(EclipseEnvironmentInfo.getDefault().getOS())) {
	private String searchVariants(String[] variants, String path) {		for (int i = 0; i < variants.length; i++) {			BundleEntry libEntry = baseBundleFile.getEntry(variants[i] + path);			if (libEntry == null) {				//					if (DEBUG && DEBUG_SHOW_FAILURE)				//						debug("not found " + variants[i] + path);				// //$NON-NLS-1$			} else {				//					if (DEBUG && DEBUG_SHOW_SUCCESS)				//						debug("found " + path + " as " +				// variants[i] + path); //$NON-NLS-1$ //$NON-NLS-2$				File libFile = baseBundleFile.getFile(variants[i] + path);				if (libFile == null)					return null;				// see bug 88697 - HP requires libraries to have executable permissions				if (org.eclipse.osgi.service.environment.Constants.OS_HPUX.equals(EnvironmentInfo.getDefault().getOS())) {					try {						// use the string array method in case there is a space in the path						Runtime.getRuntime().exec(new String[] {"chmod", "755", libFile.getAbsolutePath()}).waitFor(); //$NON-NLS-1$ //$NON-NLS-2$					} catch (Exception e) {						e.printStackTrace();					}				}				return libFile.getAbsolutePath();			}		}		return null;	}