Storage of the preferences [message #1472076] |
Thu, 13 November 2014 15:28 |
Ludwig Moser Messages: 476 Registered: July 2009 |
Senior Member |
|
|
Hello
I'm developing a multi-user application, which will be distributed by the admins on a network drive.
every user launches the application from this drive (read only)
all user-data shall be stored in the user home directory.
i tried to change the data path for preferences to:
but this leads to some weird behaviour at some of our partners, because they mapped their 'Documents' folder of Windows to an UNC path and due the fact that user.home does return not the OS'es %UserProfile% environment variable paths get fucked up.
so how can i pass %UserProfile% to the preferences location?
NOTE: i read that Java8 solves this issue, but forcing an update to Java8 seems not to be an option in the company.
|
|
|
Powered by
FUDForum. Page generated in 0.03130 seconds