Change secure storage directory in Eclipse - user.home path issue on Windows

前端 未结 4 1437
甜味超标
甜味超标 2021-01-18 11:40

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

4条回答
  •  Happy的楠姐
    2021-01-18 12:09

    The secure storage location is set by the "eclipse.keyring" setting.

    To change the storage location to a configuration folder under the eclipse folder with a relative path, add the following before the "-vmargs" line in the eclipse.ini file:

    -eclipse.keyring
    configuration\.eclipse\org.eclipse.equinox.security\secure_storage
    

    Otherwise, an absolute path can be used like:

    -eclipse.keyring
    C:\eclipse\configuration\.eclipse\org.eclipse.equinox.security\secure_storage
    

    To keep the "secure_storage" file in your user directory, copy it to the location you choose.

    Tested with Eclipse Mars.

提交回复
热议问题