IClasspathEntry libEntry= JavaCore.newLibraryEntry(jdkPath); JavaCore.setClasspathVariable(JDKLIB_VARIABLE, libEntry);
JavaCore.setClasspathVariable(JDKLIB_VARIABLE, jdkPath);
	private static void updateJDKLibraryEntry() throws JavaModelException {		IPath jdkPath= JavaBasePreferencePage.getJDKPath();		if (jdkPath == null) {			jdkPath= new Path("");		}		IClasspathEntry libEntry= JavaCore.newLibraryEntry(jdkPath);		JavaCore.setClasspathVariable(JDKLIB_VARIABLE, libEntry);	}	