How modify Eclipse locations to prevent write to user.home directory?

后端 未结 4 2099
旧巷少年郎
旧巷少年郎 2020-12-16 15:54

I have tried all different settings, and yes, I m aware of eclipse.ini and config.ini and also tried different command line arguments! Nothing solved my problem!

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-16 16:18

    This works on Windows 7, Eclipse Oxygen:

    • Install Eclipse, but DON'T launch it yet
    • Edit eclipse.ini and, underneath -vmargs, add an entry to change user home to be a shared folder:

    e.g.

    -vmargs
    -Duser.home=C:\Development
    
    • Launch Eclipse. Should see ".eclipse", ".tooling", etc folders created in shared folder, and nothing created under your user folder.

提交回复
热议问题