I am running Jabref v2.10 on Mac OS X 10.9.2. After changing some parts of the configuration file manually, I seem to have broken the preferences and now it fails to start. The application stores the application preferences using the java.util.prefs library. Is there a way I can delete java's stored preferences in Mac? (E.g., in linux, I would just delete the ~/.java folder)
The preferences files generated by the Preferences API are named com.apple.java.util.prefs. The user’s preferences file is stored in their home directory (~/Library/Preferences/). The system preferences are stored in /Library/Preferences/ and are only persisted to disk if the user is an administrator.
I do not know if you can simply delete them though.
This problem hit me recently so I thought I'd post the answer here belatedly.
When you delete the preferences on a Mac (
plist file) make sure you clear the cached preferences otherwise Java programs can keep working with the cached settings.
- Delete the
killall -u <your-user-name> cfprefsd
Items 2. and 3. will cause the cache to be cleared and then your preferences will be reloaded as
cfprefsd restarts automatically.
I hope that helps.