How to clear the cache in eclipse

Eclipse is a comprehensive software development program, allowing users an extensive operating environment for writing code or programs in Java, PHP, and several other programming languages. It is a free, open-source piece of software comprised of a series of plug-ins developed by many different users around the world. When editing or programming web sites, Eclipse may cache specific pages, and will access these older versions from your computer instead of directing you to the current page. You can easily delete old cached files stored on your system by directly editing Eclipse's preferences.

Open Eclipse and navigate to the "Preferences" window. This may be located differently in Eclipse, depending on which of the several versions you are running and what operating system you are using.

Scroll down the left-hand panel in the Preferences window and click the "Remote Systems" drop-down root menu. Select "File Cache."

Click the "Clear Cached Files" button in the File Cache window. Note that this will automatically close any open remote files on your computer.

Press "Apply" and "OK" to save your changes and exit out of the Preferences window.


Limit the amount of stored files (your cache) in Eclipse by clicking the "Limit Cache Size" box in the File Cache portion of your Preferences window. Set your maximum cache size in units of megabytes by entering the desired value in the "Maximum Cache Size" box. Press "Apply" and "OK" to save your changes.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Andrew Schrader has been a professional writer and filmmaker since 2004. He works as a writer and director, holding a Bachelor of Arts in film and media studies from UC Santa Barbara. Schrader specializes in writing about technology and computer software.