Skip to content

Instantly share code, notes, and snippets.

@torgeir
Created December 22, 2014 16:38
Show Gist options
  • Save torgeir/4848fc02afb18a81299e to your computer and use it in GitHub Desktop.
Save torgeir/4848fc02afb18a81299e to your computer and use it in GitHub Desktop.
Installing java 8 arm on a raspberry pi
# download jdk-8-linux-arm-vfp-hflt.tar.gz from oracle
$ sudo tar zxvf jdk-8-linux-arm-vfp-hflt.tar.gz -C /opt
# ...
$ sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_06/bin/javac 1
$ sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_06/bin/java 1
$ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
@darshsn
Copy link

darshsn commented May 28, 2020

S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment