Install Java 8 from Scratch on a EV3 Brick with EV3Dev

Posted by Your awesome title on December 5, 2016

To install Java 8 on a EV3 Brick with EV3Dev, follow the steps.

Download Java 8 jre from Oracle:

Copy the zip from your laptop to your brick:

scp ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.gz robot@EV3_IP:/home/robot/
sudo tar zxvf ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.gz -C /opt
sudo update-alternatives --install /usr/bin/java java /opt/ejdk1.8.0/linux_arm_sflt/jre/bin/java 1
java -version

After the installation, you should have the following result:

robot@ev3dev:~$ java -version
java version "1.8.0"
Java(TM) SE Embedded Runtime Environment (build 1.8.0-b132, headless)
Java HotSpot(TM) Embedded Client VM (build 25.0-b70, mixed mode)