<<

Install JDK, MinGW and Eclipse on Windows 7 and 10

1) Install Java Development Kit: a. Go to: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads- 2133151.html b. Download the Java SE Development Kit for your . Once finished downloading, open the installer and follow the instructions to install the JDK and wait until it finishes installing 2) Install MinGW: a. Go to: http://sourceforge.net/projects/mingw/files/Installer/ b. Click and download mingw-get-setup.exe c. Once finished downloading, run mingw-get-setup.exe d. Click Run on the first window that pops up e. Then click Continue on the next window f. Click Continue again on the next window and it will starting downloading so items. g. After it finishes downloading, a new window will pop up named “MinGW Installation Manager” here you need to select mingw32-base, mingw32-gcc=g++, msys-base and Mark for selection each one. h. Click the “x” in the corner of the window to close it i. A pop up will appear and then click “Review Changes” j. A different window will popup and click “Apply” on it k. Wait for MinGW to finish installing l. After it finishes click “Close” 3) Set the Environment Variables: a. *** NOTE: If the following changes are not made correctly, you can brick/destroy your computer. Continue at your own risk. If you do not feel comfortable doing this portion by yourself, ask Deep in DBH 288 for help. *** b. Go to: Start Right click “Computer”  Click “Properties” c. A new window will popup and on the left side click “Advanced system settings” d. A new window will popup and towards the bottom click the button “Environment Variables...” e. A new window will popup and in the box closest to the bottom named “System Variables” scroll down until you find “PATH” and click it to highlight it. f. Then click the button “Edit...” g. For windows 7*, A new window will open, here under “Variable Value” move your curser all the way to the left and sure not to delete anything or add anything accidentally. h. Once you are at the end type in the ;C:\Program Files\Java\jdk1.8.0_181\bin\;C:\MinGW\bin\;C:\MinGW\msys\1.0\bin;

This assumes you used the default install directories for both the JDK and MinGW* If you did not use the default install directories, change the paths to point to where you put the in stall directories.

*For windows 10, after a new window pops up, you click new button and type C:\Program Files\Java\jdk1.8.0_181\bin\ Then click OK button. You will do the same again for adding another path C:\MinGW\bin\ Finally, do this again for adding the path C:\MinGW\msys\1.0\bin

Created originally on Aug. 13, 2013 by Deep Gill Modified on Aug. 20, 2018 by Xuejun Liang 4) Install Eclipse: a. Go to: https://www.eclipse.org/downloads/?osType=win32 b. Download the Eclipse Installer “eclipse-inst-win64” c. Run the installer and a list of Eclipse packages is shown. d. Click on Eclipse IDE for C/C++ Developers. Another window shows up, and click on Install button. e. Then you can launch eclipse f. Click “Help”  “Install New Software” g. A new window pops open, and from the drop down select CDT – http://...... Then click Select All button. Click Next button. Finally click Finish button. h. Now eclipse can be used for cpp 5) Eclipse is all setup so now go to Google and search for things like “eclipse getting started”, “eclipse java tutorial”, “eclipse cpp tutorial”, etc... and explore!

Created originally on Aug. 13, 2013 by Deep Gill Modified on Aug. 20, 2018 by Xuejun Liang