Friday, May 2, 2014

Installing Java on Raspberry Pi

Installation of Java on Pi is easy, you can ssh to your Pi remotely and just execute:


pi@raspberrypi ~ $ sudo apt-get update && sudo apt-get install oracle-java7-jdk
... long time...
pi@raspberrypi ~ $ java -version
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode)