1. Download JDK 8 file from java website.
Select ARM version as shown above, and click download. You can also download using command line:
$sudo wget http://download.java.net/jdk8/archive/b99/binaries/jdk-8-ea-b99-linux-arm-vfp-hflt-17_jul_2013.tar.gz?q=download/jdk8/archive/b99/binaries/jdk-8-ea-b99-linux-arm-vfp-hflt-17_jul_2013.tar.gz
2. After download, please unzip the files to directory /opt. You can also put under /usr/lib. Just remember to to set environment path:
$tar zxvf /media/NANCY/jdk-8-ea-b99-linux-arm-vfp-hflt-17_jul_2013.tar.gz -C /opt
3. Check the version:
After configure the environment path. We can run: