Frank Spangenberg: Media Projects

Java: System property “user.home” does not correspond to “USERPROFILE” on Windows systems

~ at August 2, 2008 by Frank Spangenberg

It's curious to see how many applications are not able to correctly determine the user's profile path on Windows. Nearly all Java based applications are affected [if they use System.getProperty(), not System.getenv()]—and that since December 2002!

Just change your desktop's folder path to a different location and you'll see which application is affected—because it moves its settings file(s) location too. ;-)

Affected applications

An incomplete list of affected Java based applications:

Categories: , |

Add a comment






Textile Help

Categories

Feeds