Eclipse stores the preferences in the workspace of your application in the.metadata/.plugins/org.eclipse.core.runtime/.settings/ directory in the <nodePath>.prefs file
For example, for CDT build environment variables stored in here:
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.pref
x