String compliance= fFirstPage.getCompliance();     IJavaProject project= JavaCore.create(fCurrProject); Map options= project.getOptions(false); JavaModelUtil.setCompilanceOptions(options, compliance); project.setOptions(options);
String compliance= fFirstPage.getCompilerCompliance(); IJavaProject project= JavaCore.create(fCurrProject); Map options= project.getOptions(false); JavaModelUtil.setCompilanceOptions(options, compliance); project.setOptions(options);
	public void performFinish(IProgressMonitor monitor) throws CoreException, InterruptedException {		try {			monitor.beginTask(NewWizardMessages.JavaProjectWizardSecondPage_operation_create, 3); 			if (fCurrProject == null) {				updateProject(new SubProgressMonitor(monitor, 1));			}			configureJavaProject(new SubProgressMonitor(monitor, 2));//			IVMInstall inst= fFirstPage.getJVM();			String compliance= fFirstPage.getCompliance();//			if (inst instanceof IVMInstall2) {//				compliance= ((IVMInstall2)inst).getJavaVersion();//			}//			if (compliance != null) {				IJavaProject project= JavaCore.create(fCurrProject);				Map options= project.getOptions(false);				JavaModelUtil.setCompilanceOptions(options, compliance);				project.setOptions(options);//			}		} finally {			monitor.done();			fCurrProject= null;			if (fIsAutobuild != null) {				CoreUtility.enableAutoBuild(fIsAutobuild.booleanValue());				fIsAutobuild= null;			}		}	}