Installing Eclipse for C (no previous installation)


During the installation process you may need an utility called WinZip, which is used for managing .zip files. Note that this software costs $29, but the free evaluation version is fully functional and does not expire.

The files that you will need to download are quite large (the Java SDK and Eclipse downloads are roughly 50 and 90 megabytes, respectively), and so it is necessary that you have a fast internet connection.

Installation Process

Download/Install Java:
Visit the web site:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

At this site, select the latest Java SE 7 SDK download. It will be in the section "Java SE Development Kit...." and will have a name that starts with jdk.  Be sure to get the correct package for the OS type.

(On Windows, you will need admin privileges.) Be careful that you do not confuse the JRE with SDK, you need the SDK. Once the download is complete, install java by clicking on the file you downloaded. This will lead you through the installation process.

Download Eclipse:

To download Eclipse visit the web page

http://www.eclipse.org/downloads/index.php

From this page, select "Eclipse IDE for C/C++ Developers".
You may select any mirror site, e.g. "Main Eclipse Download Site". (Depending on the current internet traffic load, some mirror sites may be very busy, and you may want to experiment until finding one that provides good response time.)

Be sure to get the correct eclipse for your platform type.

Install Eclipse:

Unlike most modern software products, Eclipse has not have a fancy installation procedure. To install it, simply extract the zip file in the directory where your programs are stored, e.g. C:\Program Files. This will create a directory named eclipse. The executable program file is located in this directory and is called "eclipse.exe". On Windows systems, it is a good idea to create a shortcut to this executable on your desktop. To do this, right-click on the "eclipse.exe" file and select "Send To → Desktop".
Initializing Eclipse:

Eclipse stores all its files in a directory called its "workspace". When Eclipse is run for the first time, it will ask you where you want the workspace to be placed. You can just use the default location (which will be in the directory where eclipse was installed). Some people find it more convenient to place the workspace somewhere in their "My Documents" directory, e.g. "My Documents\Eclipse".

After this, you should see the "Welcome to Eclipse.." page. When you see this, you are ready to proceed to the next step. If it doesn't start, see if this page helps:

Eclipse won't start