wagenknecht.org » Gunnar's Weblog » Wrong user.home?   Admin | Sign Out  
Weblog | Pictures

Wrong user.home?

Sunday, September 28th, 2008, 20:01:04 +0200, Gunnar Wagenknecht

Ever wondered why Eclipse (or any Java app) is still pointing to your old Windows profile (eg. after renaming or copying it)? It’s a known JRE bug. They use a Windows registry entry for setting the user.home property.

I just had that upps effect with RSSOwl. All my blogs were gone after removing the old profile dir which I haven’t used for months (I moved out of a Windows domain severel weeks ago).

3 Responses to “Wrong user.home?”

  1. roy Says:

    I remember in Windows user.home is actually desktop\.., that is the parent directory of your Windows Desktop directory, not %USERPROFILE%, especially when you’ve moved your Windows Desktop to a personalized location.

    And it’s been a long time like this.

  2. Gunnar Wagenknecht Says:

    Yes, the problem exists since 1.3. :|

  3. John Says:

    Thanks for this post Gunnar. It finally enabled me to work out why the ANT builds on two of our developers’ machines suddenly failed when we moved roaming profiles whereas everybody else was ok.

    Good to see that this has been open with Sun since 2002 and is still an issue in 2009. Nice one Sun.

Leave a Reply

Note, you can use these XHTML tags in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

Gunnar's Weblog is proudly powered by WordPress and valid XHTML and CSS (hopefully...).
Entries (RSS) and Comments (RSS). Spawned in 0.460 seconds.