When Eclipse launches, it creates folders such as the workspace and the .eclipse folder, which is located in the user's folder in Windows environments. Although the location of the first one is easy to establish (Eclipse asks you about the location of the workspace), I have many problems that determine the location that I want for the .eclipse folder.
Actually, the problem is that I have two different hard drives: C: / and D: /. I would like Eclipse to create its own .eclipse folder in C: / Users / username. Instead, it creates it in D: / Users / username.
I cannot find a way to set the location of the .eclipse folder. Adding "osgi.configuration.area = C: / Users / username \" to eclipse.ini turned out to be very important: part of the eclipse configuration in the .eclipse folder is where I want, but the other folders found in .eclipse aren’t, therefore, Eclipse still creates .eclipse in D: /.
I just wanted to find the right line of code to put in eclipse.ini (for example) so that Eclipse would create the files it automatically creates in C: / Users / username instead of D: / Users / username.
source
share