public static IPackageFragmentRoot addRTJar16(IJavaProject jproject) throws CoreException {
   IPath[] rtJarPath = findRtJar(RT_STUBS_16);
   set16CompilerOptions(jproject);
   return addLibrary(jproject, rtJarPath[0], rtJarPath[1], rtJarPath[2]);
 }
 /**
  * Sets the compiler options to 1.6 for the given project.
  *
  * @param project the java project
  */
 public static void set16CompilerOptions(IJavaProject project) {
   Map options = project.getOptions(false);
   JavaProjectHelper.set16CompilerOptions(options);
   project.setOptions(options);
 }