Check your java version by opening CMD and typing
java -version
and you should see:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
If you see anything other than 1.8.something, remove Java then install it from:
https://www.java.com/en/download/manual.jsp
Download the eclipse installer from here:
https://www.eclipse.org/downloads/
Run the Eclipse installer
Install the C developemt version.
Install Eclipse on R drive if using lab machine
Once the install is done, open eclipse and go to the workbench.
Open
Help->Eclipse Marketplace...
Search for Sloeber
Set the workspace to Arduino mode. In the upper right hand corner there is a button with a little yellow plus sign, and when you hover over it is says "pen Perspective". Click that button. Select Arduino.
Eclipse will restart to load the plugin.
Arduino -> Preferences
And start by removing both of the default values for private Hardware and Private libraries:
Under Private Hardware Path, select New.. and search for (where you extracted Arduino)/hardware/
Mine looks like:
C:\WPIAPPS\arduino-1.8.3\hardware\
Under Private Library path, select New.. and search for your user library directory. It is usually in (your users home)\Documents\Arduino\libraries for Windows, or (your users home)/Arduino/libraries for Unix systems. You know you have the right one if the folder contains ESP32Servo, Esp32SimplePacketComs, SimplePacketComs, EspWii and WiiChuck Directories from the library install step above. Remember the location of this folder, it will be where you clone your code in a coming step.
Mine looks like:
C:\Users\harrington\Documents\Arduino\libraries
Install Doxygen From these instructions or the direct link
Then use these instructins to set add GraphViz to the path
C:\Program Files (x86)\Graphviz2.38\bin
sudo apt install doxygen
In eclipse
Help->Eclipse Marketplace...
Search for
eclox
and install it.
Open Projects in Eclipse using the Eclipse instructions
There can be a currupted download to the Make tools, if this error comes up follow these instructions to correct it Follow the instructions here : Sloeber/arduino-eclipse-plugin#767









