Created
December 22, 2014 16:38
-
-
Save torgeir/4848fc02afb18a81299e to your computer and use it in GitHub Desktop.
Installing java 8 arm on a raspberry pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
S