Where do you store user-specific and machine-specific runtime configuration data for J2SE application?
(For example, C:\Users\USERNAME\AppData\Roaming</em> on Windows and /home/username on Unix)
How do you get these locations in the filesystem in platform-independent way?
That depends on your kind of J2SE Application:
All these approaches are, when used with care — use correct separatorChar — OS neutral.