Can you use Eclipse on the Raspberry Pi?
On a Raspberry Pi 1 (pre RPi2 model B)
Forget it! Technically eclipse will run, but not really! The RPi 1 is far too underpowered for it
On a Raspberry Pi 2 Model B
Yes we've got eclipse to run, but not with the cdt c++ compiler installed for it. Lets hope this can be fixed soon as currently eclipse seems totally unstable for c++ development on the RPi
WE CAN'T CURRENTLY (MAY 2015) GET ECLIPSE FOR C++ DEVELOPMENT TO RUN ON THE RPi2 – PLEASE LET US KNOW IN THE COMMENTS IF YOU FIND A WAY!
Installing Eclipse Attempt 1
Enter this at the command line (N.B. this install takes a looooong time!)
sudo apt-get install eclipse
Use startx to load the GUI and you'll then find eclipse in the 'Programming' group.
Now install the C++ tools
Menu > Help > Install New Software
Work with: http://download.eclipse.org/releases/indigo/ (Will likely be an option already in the dropdown called 'Indigo Update Site')
Hit return and then once it retrieves everything (can take ages with just 'Pending…' showing) select 'Programming Languages' (can also take a while to download and open)
Select 'C/C++ Development Tools' > Next > IT CRASHES
Using this URL instead causes acrash before you even get shown the options: http://download.eclipse.org/tools/cdt/releases/indigo
Installing Eclipse Attempt 2
Enter this at the command line (N.B. this install takes a looooong time!)
sudo apt-get install eclipse
sudo apt-get install eclipse-cdt g++
The -cdt line installs the c++ option into eclipse.
Use startx to load the GUI and you'll then find eclipse in the 'Programming' group.
Now run Eclipse > IT CRASHES BEFORE IT FINISHES LOADING
8 years ago
Does this work on a raspberry pi 3?
8 years ago
If it works on the 2, surely!
9 years ago
WIth an RPi2 running the Raspian Jessie this works out of the box.
9 years ago
First you need to install JDK 8 from Oracle, follow the next link :
http://www.rpiblog.com/2014/03/installing-oracle-jdk-8-on-raspberry-pi.html
9 years ago
Indeed. It works now.
Be careful with spaces. That page uses crappy fonts for code.
Thanks Olivier.