A DESCRIPTION OF THE REQUEST :
It would be helpful to have standard system paths/variables available from a standardized API, e.g. for Windows:
for cache requirement:
%UserProfile%\Locale Settings\Application Data
A reasonable location for such an API could be java.nio.file.FileSystem
I ask this, because there is a problem to save a Java application's data to system's application data location.
The question came up because of this bug:
Without using Windows API, NetBeans installer isn't able to determine the system's application data standard location.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Return system variables as String.
Additionally return system paths as java.nio.file.Path
CUSTOMER SUBMITTED WORKAROUND :
Get the values via the JNI interface directly from the OS API.