Install JDK 8 on Raspberry Pi and set JAVA_HOME and PATH. how to download JDK 8 on a host computer running Ubuntu Linux (not on Raspberry Pi), then copy to Raspberry Pi, ssh to Pi to setup JDK 8 and set JAVA_HOME and PATH in .bashrc.
The new Raspbian preloaded java 1.8.0. By default, both java and java are in PATH, but no JAVA_HOME set, if you need set JAVA_HOME, refer to the updated post "Set JAVA_HOME for Raspbian pre-loaded java 1.8.0" (http://helloraspberrypi.blogspot.com/2015/03/set-javahome-for-raspbian-pre-loaded.html).
Tags: Install JDK 8 on Raspberry Pi and set JAVA_HOME and PATH, Java (Programming Language), Java Development Kit (Software), Raspberry Pi (Computer), Maker, Linux