Change secure storage directory in Eclipse - user.home path issue on Windows
eclipse, java
Solution
-Duser.home=C:\your\path
Tested on eclipse luna.
Problem
I have an issue with saving passwords in Eclipse. None of my passwords are "remembered" and I've found Eclipse tries to save them in a folder my Windows account doesn't have access to. It tries to save to ``` D:\Users\Administrator\.eclipse\org.eclipse.equinox.security\secure_storage ``` a directory that does not exist and to which my Win account couldn't write anyway. What I found is that my user.home variable is set to D:\Users\Administrator. My wild guess is that's because it's the Administrator account that installed Java. So my question is - can I change the user.home path, or at least change some other properties to force Eclipse Secure Storage to work elsewhere? edit: so I found a solution here What are the best JVM settings for Eclipse? I added this to my eclipse.ini: -eclipse.keyring C:\some\path\file.txt Which changed my target password storage file.