Where are Java preferences stored on Mac OS X?

Java/Mac OS X FAQ: Where are Java Preferences stored on Mac OS X?

The preferences you store from within a Java application on a Mac OS X system are saved in a file in the user's ~/Library/Preferences directory. For instance, for a Mac user named Alvin, and a Java class named com.devdaily.Foo, preferences for that class will be stored in this file:

/Users/Alvin/Library/Preferences/com.devdaily.foo.plist

The last part of that directory path assumes that you created your Java preferences instance as shown below, from within the class named com.devdaily.Foo:

pre class="brush: java" = Preferences.userNodeForPackage(this.getClass());

You can find out more about this in Apple's Java Development Guide docs.

More on Java Preferences

Here are a few links to more information about Java Preferences: