/** * Returns a path for the JRE classpath container identifying the * specified execution environment. * * @param environment execution environment * @return classpath container path * @since 3.2 */ public static IPath newJREContainerPath(IExecutionEnvironment environment) { IPath path = newDefaultJREContainerPath(); path = path.append(StandardVMType.ID_STANDARD_VM_TYPE); path = path.append(JREContainerInitializer.encodeEnvironmentId(environment.getId())); return path; }
/** * Returns a path for the JRE classpath container identifying the * specified execution environment. * * @param environment execution environment * @return classpath container path * @since 3.2 */ public static IPath newJREContainerPath(IExecutionEnvironment environment) { IPath path = newDefaultJREContainerPath(); path = path.append(StandardVMType.ID_STANDARD_VM_TYPE); path = path.append(JREContainerInitializer.encodeEnvironmentId(environment.getId())); return path; }