Some have asked the question before and there are various responses, however none directly answered the question and so here it is again. Appreciate any pointer.

  • Some brief googling seems to be suggesting that the performance you could expect from later versions of Eclipse on a Pi might be best described as 'miserable'. The Pi's CPU and RAM availability are pretty poor relative to even a 10 year old desktop PC. That's probably reason enough for nobody to put the hours in to get it working. I think you might be on your own on this one, but I suppose if you put in a few days on it you might be able to compile it yourself.
    – goobering
    Commented Sep 28, 2016 at 13:04
  • Go to eclipse.org, then to the download page, download it, unzip or untar it, then run it.
    – ott--
    Commented Sep 29, 2016 at 18:13
  • 3
    @goobering I just did some trials and the Raspberry 3 is powerful enough for casual Java development (if you have all your files on a USB drive and not the SD-card) Commented Jan 17, 2017 at 11:16
  • @ThorbjørnRavnAndersen Good effort! It would be great if you could put together an answer outlining your install procedure, and any caveats (USB stick, etc.).
    – goobering
    Commented Jan 17, 2017 at 11:19
  • @ott There is no official Eclipse distribution for the Raspberry. This will not work. Commented Jan 17, 2017 at 11:22

3 Answers 3


Use sudo apt-get install eclipse. Make sure to remove openjdk.

sudo apt-get remove openjdk*



Follow that article to install oracle java on raspbian. Done.

  • sudo apt-get install eclipse installs Eclipse 3.8, but the OP clearly asked how to install Eclipse Luna (4.4) or later. Commented Jun 23, 2018 at 16:25
  • I keep getting an error when launching eclipse about 'java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter'. Any ideas? Commented Oct 21, 2019 at 4:17

I have used Eclipse on the Raspberry PI models 2 and 3 and found the performance to be quite good when doing Java development with pi4j when using Oracle's Java 8. It is a bit slow to load (15 seconds or so) and you will notice a slight delay the first time any new item (editor, builder, etc) is run (presumably class loading), but once up and running, it runs pretty smoothly. When debugging I/O device drivers etc, having it run native on the PI is great.

WARNING!!!!!!! CAUTIONARY note on running Eclipse native on the PI. If you use apt-get to install eclipse, it will also install Open JDK and set eclipse to use it. Open JDK is extremely slow when compared with Oracle's JDK so be sure to install oracle Java and use it.

  • 1
    While this is great information, it does not really address the question about how to install Luna on the pi.
    – Bex
    Commented May 11, 2017 at 9:42
  • Sorry. I added it because when installing eclipse on the PI, this issue can make or break its usability so I thought it was relevant to installing. But as you said, it does not literally address the install procedure itself.
    – akaptt
    Commented May 15, 2017 at 17:13

Although it is a bit old I found an article of someone who wanted the same. You could do it with:

sudo apt-get update
sudo apt-get install eclipse

So it is possible but I'd recommend to just run Eclipse on your desktop device or laptop and just transfer the built files or source code to your Raspberry Pi.

  • 1
    The thread you link is about someone failing to install Luna. I'm don't know what the current eclipse available on Rasbpian is, but presumably the OP would not be asking about a specific version if it were up to date with that.
    – goldilocks
    Commented Sep 29, 2016 at 15:27
  • 1
    The current version of Eclipse with Raspbian is 3.8.1 which does not support Java 8 (otherwise it would be fine) Commented Jan 17, 2017 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.