Search
Close this search box.

Cheat sheet: Install Java on Odroid (Ubuntu server 14.04)

Download Java 8 for ARM hard fload (hard float means that the Odroid CPU can calculate floats by hardware not software): http://www.oracle.com/technetwork/java/javase/downloads/jdk8-arm-downloads-2187472.html

tar xvfz jdk-8u33-linux-arm-vfp-hflt.gz
mkdir /usr/lib/jvm
mv jdk1.8.0_33 /usr/lib/jvm/
export PATH=$PATH:/usr/lib/jvm/jdk1.8.0/bin
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_33/bin/javac 1
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_33/bin/java 1
update-alternatives --config javac
update-alternatives --config java

Et voila !

Share the Post:

Related Posts