Generating a config file for the formatter application involves modifying the code formatter settings for a Java project and copying org.eclipse.jdt.core.prefs out of the .settings directory for that project.
workspace/YourJavaProject/.settings/org.eclipse.jdt.core.prefs
to a new location.
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.source=1.5