Change location where eclipse create .eclipse, .p2, and other folders

后端 未结 2 1696
谎友^
谎友^ 2021-01-17 16:35

I see that eclipse create in my user home folder some folders like .eclipse .p2 etc... I want change this default folder(I want save all in a D: location.). I read this Chan

2条回答
  •  时光说笑
    2021-01-17 16:38

    An easy way to do something similar is to move the directory to a desired location and then create a symbolic link to user directory.

    Example: The new .p2 location is D:\Programmi\Eclipse\.p2

    Open CMD console as Administrator and execute the following:

    mklink /D C:\Users\your-user\.p2 D:\Programmi\Eclipse\.p2
    

提交回复
热议问题