Thursday, March 19, 2015

Install Eclipse JDT on Raspberry Pi 2/Raspbian


To install Eclipse with JDT (Java development tools) on Raspberry Pi 2/Raspbian, enter the commands:
$ sudo apt-get install eclipse
$ sudo apt-get install eclipse-jdt

This video show how to:


Please notice:
- The installed version of Eclipse 3.8.0
- After installed, the default java and javac will be changed to 1.6.0 of OpenJDK!


This video show example of "Hello World" using Eclipse JDT.

3 comments:

Mcyellen said...

Why it is RPI2 only tutorial? What is wrong with the previous versions of RPI?

Erik said...

Hello Mcyellen,

I think it can work on previous RPi also, but may be too slow.

With quad-core CPU on RPi 2, the performance improved much more. Actually, in my recent post, I'm trying to see what can run on RPi 2.

Sai Pradeep Dandem said...

Very Helpfull !!
I actually want to work with Jdk 1.8.
How to upgrade the eclipse to get compilance with jdk 8 ?