What do I need exactly is to store information like applications first execution date and few settings somewhere on the user machine. The program will be distributed on Windows and Mac OS. This information needs to be shared between the users on same machine… somewhat global settings. On windows I’d probably store this information in registry, not sure about Macs… I’d really like a multiplatform solution for this, otherwise please advise platform specific ones.
What do I need exactly is to store information like applications first execution date
Share
use
java.util.prefs.PreferencesIf you want all users on the machine to use the same properties, use
Preferences.systemRoot()(rather thanPreferences.userRoot())