Eclipse and Windows 7

I reinstalled my computer with Windows 7 and Eclipse 3.5.1 (Galileo).

The strange thing is that I do not see the files created by Eclipse. I can not find the workspace, I can not find files from

+6
file filesystems windows-7
source share
2 answers

Where do you have Eclipse installed? Where is your workspace?

In Windows 7 (in fact, Vista), many security policies that existed only on paper in earlier versions of Windows are now actually executed by the operating system. For example, according to Microsoft documentation, for decades, it was pretty illegal to write to C:\Program Files , but if you actually tried, it worked anyway. Not anymore. Starting with Vista, C:\Program Files disabled.

However, in order not to violate existing (damaged) applications, Microsoft introduced file system virtualization. If an application tries to write to C:\Program Files , it silently goes to C:\Users\%Username%\AppData\Local\VirtualStore\Program Files . Thus, this particular application sees all the files that it created or changed in C:\Program Files , but other applications, and this includes explorer, see Only unchanged / empty directory.

This applies not only to C:\Program Files , but also to other system directories. In addition, this applies to system parts of the registry, for example, HKEY_LOCAL_MACHINE .

To get around all this, I just set my copy of Eclipse to %LocalAppData%\eclipse (this is C:\Users\%Username%\AppData\Local\eclipse ) and created my workspace in %AppData%\eclipse (this is C:\Users\%Username%\AppData\Roaming\eclipse ). This is Just Works & trade ;.

+15
source share

You can start eclipse with the -showlocation option, which displays the workspace path in the title bar.
( E.g. eclipse.ini )

From there you can check if you find this workspace and its eclipse projects inside it.

You can also customize your shortcut:

enter image description here

+3
source share

All Articles