新建一个txt 拷贝下面的文本,然后保存修改扩展名为.epf
#Sat Nov :: CST
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
/instance/org.eclipse.ant.ui/problem_properties=ignore
@org.eclipse.debug.ui=3.9..v20130516-
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
@org.eclipse.ui.ide=3.9..v20131004-
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.argumentSuffixes=
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1417252052096">\r\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n<vm id\="" name\="jre7" path\="D\:\\Software\\Java\\jre7"/>\r\n</vmType>\r\n</vmSettings>\r\n
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.PREF_HCR_WITH_COMPILATION_ERRORS=true
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.default_breakpoint_suspend_policy=
/instance/org.eclipse.ant.ui/problem_classpath=warning
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.argumentPrefixes=
@org.eclipse.ui.trace=1.0..v20130508-
/instance/org.eclipse.ui.trace/tracingEntries=org.eclipse.jdt.launching/debug/classpath/jreContainer\=false;org.eclipse.jdt.launching/debug\=false;org.eclipse.debug.core/debug/events\=false;org.eclipse.debug.core/debug/commands\=false;org.eclipse.debug.core/debug\=false;org.eclipse.jdt.debug/debug/jdiEvents\=false;org.eclipse.jdt.debug/debug/astEvaluations/callingThreads\=false;org.eclipse.jdt.debug/debug/jdiRequestTimes\=false;org.eclipse.jdt.debug/debug\=false;org.eclipse.jdt.debug/debug/astEvaluations\=false;org.eclipse.debug.ui/debug/viewers/updateSequence\=false;org.eclipse.debug.ui/debug/memory/dynamicLoading\=false;org.eclipse.debug.ui/debug\=false;org.eclipse.debug.ui/debug/breadcrumb\=false;org.eclipse.debug.ui/debug/contextlaunching\=false;org.eclipse.debug.ui/debug/viewers/presentationId\=;org.eclipse.debug.ui/debug/viewers/deltas\=false;org.eclipse.debug.ui/debug/viewers/breakpointDeltas\=false;org.eclipse.debug.ui/debug/launchhistory\=false;org.eclipse.debug.ui/debug/viewers/viewer\=false;org.eclipse.debug.ui/debug/viewers/stateSaveRestore\=false;org.eclipse.debug.ui/debug/viewers/contentProvider\=false;org.eclipse.debug.ui/debug/viewers/model\=false;org.eclipse.pde.api.tools/debug/classfilevisitor\=false;org.eclipse.pde.api.tools/debug/apiprofile\=false;org.eclipse.pde.api.tools/debug/apianalyzer\=false;org.eclipse.pde.api.tools/debug/profilemanager\=false;org.eclipse.pde.api.tools/debug/descriptor/framework\=false;org.eclipse.pde.api.tools/debug/search\=false;org.eclipse.pde.api.tools/debug/builder\=false;org.eclipse.pde.api.tools/debug/workspacedeltaprocessor\=false;org.eclipse.pde.api.tools/debug/usereportconverter\=false;org.eclipse.pde.api.tools/debug/apidescription\=false;org.eclipse.pde.api.tools/debug/apifilterstore\=false;org.eclipse.pde.api.tools/debug/pluginworkspacecomponent\=false;org.eclipse.pde.api.tools/debug/delta\=false;org.eclipse.pde.api.tools/debug\=false;org.eclipse.pde.api.tools/debug/tagscanner\=false;
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.code_templates_migrated=true
/instance/org.eclipse.ui.views.log/show_filter_text=true
/instance/org.eclipse.ui.ide/PROBLEMS_FILTERS_MIGRATE=true
/instance/org.eclipse.ui.editors/overviewRuler_migration=migrated_3.
@org.eclipse.jdt.ui=3.9..v20131106-
/instance/org.eclipse.ui.trace/tracingMaxFileSize=
/instance/org.eclipse.core.resources/version=
@org.eclipse.core.resources=3.8..v20130717-
/instance/org.eclipse.jdt.junit.core/org.eclipse.jdt.junit.enable_assertions=false
/instance/org.eclipse.ui/showIntro=false
/instance/org.eclipse.ui.trace/tracingEnabled=true
/instance/org.eclipse.jdt.ui/tabWidthPropagated=true
/instance/org.eclipse.ui.views.log/activate=true
/instance/org.eclipse.ui.views.log/orderValue=-
/instance/org.eclipse.ant.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.jdt.ui/hoverModifiers=org.eclipse.jdt.ui.BestMatchHover;;org.eclipse.jdt.internal.debug.ui.JavaDebugHover;\!;org.eclipse.jdt.ui.ProblemHover;\!;org.eclipse.jdt.ui.NLSStringHover;Ctrl+Alt;org.eclipse.jdt.ui.JavadocHover;Ctrl+Shift;org.eclipse.jdt.ui.AnnotationHover;\!;org.eclipse.jdt.ui.JavaSourceHover;Shift;
/configuration/org.eclipse.ui.ide/MAX_RECENT_WORKSPACES=
@org.eclipse.ui.workbench=3.105..v20140211-
file_export_version=3.0
@org.eclipse.jdt.launching=3.7..v20131218-
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.editor.tab.width=
/instance/org.eclipse.pde.api.tools/knownEEFragments=
/instance/org.eclipse.jdt.ui/org.eclipse.jface.textfont=|Consolas|10.0||WINDOWS|||||||||||||||Consolas;
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.exception.name=e
/instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
/instance/org.eclipse.team.ui/org.eclipse.team.ui.first_time=false
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.quickassist.lightbulb=true
/instance/org.eclipse.ui.ide/platformState=
@org.eclipse.core.net=1.2..v20130430-
\!/=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance=1.7
/instance/org.eclipse.ui.views.log/orderType=
/instance/org.eclipse.jdt.ui/hoverModifierMasks=org.eclipse.jdt.ui.BestMatchHover;;org.eclipse.jdt.internal.debug.ui.JavaDebugHover;;org.eclipse.jdt.ui.ProblemHover;;org.eclipse.jdt.ui.NLSStringHover;;org.eclipse.jdt.ui.JavadocHover;;org.eclipse.jdt.ui.AnnotationHover;;org.eclipse.jdt.ui.JavaSourceHover;;
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.fieldSuffixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.localSuffixes=
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.PREF_CONNECT_TIMEOUT=
@org.eclipse.jdt.junit=3.7..v20130514-
/instance/org.eclipse.jdt.ui/content_assist_number_of_computers=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.fieldPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.localPrefixes=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
/instance/org.eclipse.ui.views.log/groupBy=
@org.eclipse.ui.editors=3.8..v20130513-
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES=F\:\\JavaWorkSpace
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.keywordthis=true
/instance/org.eclipse.jdt.ui/smart_opening_brace=true
/instance/org.eclipse.ui.ide/quickStart=false
@org.eclipse.jdt.junit.core=3.7..v20130514-
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
/instance/org.eclipse.ant.ui/problem_imports=warning
/instance/org.eclipse.debug.ui/org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
/instance/org.eclipse.jdt.ui/content_assist_proposals_foreground=,,
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.formatterprofiles.version=
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
@org.eclipse.jdt.core=3.9..v20140114-
@org.eclipse.ui.views.log=1.0..v20130515-
/instance/org.eclipse.jdt.junit/org.eclipse.jdt.junit.show_in_all_views=false
/instance/org.eclipse.jdt.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.templates_migrated=true
/instance/org.eclipse.jdt.ui/useQuickDiffPrefPage=true
/instance/org.eclipse.ant.ui/problem_security=warning
/instance/org.eclipse.ui.views.log/column4=
/instance/org.eclipse.ui.views.log/column3=
/instance/org.eclipse.jdt.ui/smart_semicolon=true
@org.eclipse.jdt.debug=3.8..v20130514-
/instance/org.eclipse.ui.views.log/column2=
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.editor.showSegments=true
/instance/org.eclipse.ant.ui/useQuickDiffPrefPage=true
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debugdefault_watchpoint_suspend_policy=
/instance/org.eclipse.ui.ide/tipsAndTricks=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.gettersetter.use.is=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.javadoclocations.migrated=true
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.source=1.7
/instance/org.eclipse.jdt.ui/content_assist_autoactivation_triggers_java=.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW
/instance/org.eclipse.ui.trace/tracingMaxFileCount=
@org.eclipse.team.ui=3.7..v20130729-
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.suspend_for_breakpoints_during_evaluation=true
/instance/org.eclipse.jdt.ui/content_assist_proposals_background=,,
/instance/org.eclipse.jdt.ui/proposalOrderMigrated=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.overrideannotation=true
/instance/org.eclipse.ant.ui/problem_tasks=ignore
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
/instance/org.eclipse.jdt.ui/sourceHoverBackgroundColor=,,
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES_PROTOCOL=
/configuration/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
/instance/org.eclipse.ui.trace/tracingFilePath=F\:\\JavaWorkSpace\\.metadata\\trace.log
@org.eclipse.ant.ui=3.5..v20140203-
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
/instance/org.eclipse.jdt.launching/org.eclipse.jdt.launching.only_include_exported_classpath_entries=false
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
/instance/org.eclipse.ui.workbench/org.eclipse.ui.commands=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<org.eclipse.ui.commands/>
/instance/org.eclipse.debug.ui/preferredTargets=default\:default|
/instance/org.eclipse.jdt.debug/org.eclipse.jdt.debug.PREF_REQUEST_TIMEOUT=
/instance/org.eclipse.jdt.ui/fontPropagated=true
@org.eclipse.pde.api.tools=1.0..v20130807-
/instance/org.eclipse.jdt.ui/content_assist_autoactivation_delay=
/instance/org.eclipse.jdt.ui/spelling_locale_initialized=true
@org.eclipse.ui=3.105..v20130522-
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
/configuration/org.eclipse.ui.ide/SHOW_WORKSPACE_SELECTION_DIALOG=false
然后File→Import→Preferences→test.epf,ok,再去编写java程序。
http://www.cnblogs.com/myitm/archive/2010/12/17/1909194.html