Downloading & Setting up Eclipse for Windows
- In order to run Eclipse IDE you must install Java and the java runtime environment (jre) which I think gets installed automatically, when you install java. You need Java because the Eclipse platform was developed for Java. It was then extended for Windows, Mac and Unix.
- You also need GNU compiler gcc 4.7.0 + (from When you are installing GNU gcc compiler, it needs to be install in a specific way and place: Enter MinGW in the window as a path of where to install it.
- Eclipse with CDT ( C development tools).
- To check to see if you have java or the latest version: go to
- Click on “ Do you have java?”, And then click on the red button “Verify Java Version” You either get a congratulations or you will be prompted to install the latest version of Java. Go ahead and do that. You are now ready to download Eclipse.
If nothing works: go to: Check the box for license agreement and find the code for windows on the list – most likely your laptop is the 64-bit, so pick that.
- Go to to download Eclipse for Windows.
It is called "Europa"
- Download it to your desktop.
- It might take 10 to 15 minutes to download (60 meg)
- You can tell that it is done downloading by the icon - it turns into a folder icon.
- If it is a zip file, extract the contents by double click on the Eclipse icon. It will begin to install, also.
- Create a "short cut" and move it on to your desktop.
- Go to Eclipse folder, now create a new folder and call it, Working
- Go to your desktop and invoke Eclipse by double clicking on the Eclipse short cut.
How to set up Eclipse to begin programming:
- Double click on the Eclipse short cut, click run in the popup window.
- Browse to /users/yourname/Desktop/Eclipse/Working
- Go to preferences under the “Window” menu in the tool bar
- Expand “General”, Select “Workspace” (last on the list), Go to “Textfile Encoding” Select “other” and pick UTF-8 from the list.
- Now go to C/C++ and Expand it, then select “CDT Project Wizard” on the popup window.
- In the Window expand, “Executable”
- Select Empty project
- Select MinGW GCC on the right side
- Then click on the “Make toolchain(s)” at the bottom of the window OK
- Go back to “General”, now pick “Editor”, and then “Folding”, Check the first 2 check boxes and uncheck the rest (five of them or so) OK.
- Now go to the very top left of the Eclipse window a very little window with a little arrow for pull down, pull down and pick “Project” (about 3rd one down). Select and expand “General”, select project, then click next, Enter “C_Programming_Course” for Project Name, (it is better not to include spaces in a name).
- Now create a new folder, so select “C_Programming_Course” right click, click on “New Folder” in the popup window, click on the “Advanced” button and check the box “Link to folder in the file system”
- Create one more project. Go to the very top left again as in step#5. This time pick “C Project”.
- Expand code_examples folder, then expand ch02, then copy one of the files, say fig02_03.
- Select C_project and cut and paste fig02_03.c
- Now double click on fig02_03.c, it will appear in the main window.
- Now select C_project folder
- Go up to the tool bar and select "Project" menu and click "Build_all"
6. Now run the program by clicking "Run" menu.
Let me know if these instructions work.