Java does’nt like C:\Programme on Vista
May 8, 2008
On my German Windows Vista I have a folder called C:\Programme which is basically the translation of C:\Program Files in the English version. But unlike in Windows XP, where the folder is really called this way, Vista does use a kind of just-in-time translation when accessing this folder through Windows Explorer. So it happens, that on another box I have two C:\Programme folders (see screenshot below).
When you look at the properties of both folders you can see that these are two different named folders in the files system:
And that’s the reason why I can’t access C:\Programme in my Java code on the one box, because in real this folder is called C:\Program Files. Well, what would a programmer’s life look like without these obstacles?


Posted in




May 19th, 2008 at 3:02 pm
I have this Problem with my english Vista. There are two “Program Files” folders…
But why do you use a german Vista?
May 20th, 2008 at 1:19 pm
I use a German Vista cause my native language is German