i'm creating a java library mylib that will work with default settings but user can create his config file to override those settings. the question is: what is a standard location of such file on windows?
on linux it's: ~/.mylib/* or ~/.config/mylib/* 
regarding windows i found some answers saying many different locations: %LOCALAPPDATA%, %USERPROFILE% or %APPDATA% and then ./mylib/*. i also found some answers introducing $HOMEDRIVE and $HOMEPATH variables.
so where should my lib expect user to store his config file?
 
    