By Jim Connors-Oracle on Oct 14, 2013
Having sold more than 1.75 million units in its brief lifespan, there is no denying the profound impact the Raspberry Pi has had on the embedded development community. Amid all the hoopla surrounding the recently completed Oracle OpenWorld and Java One events, one announcement that flew under the radar dealt with the fact that the Oracle JDK is now part of the Raspberry Pi Raspian distribution.
This means that by default, when you download and install the latest Raspian distribution on your Raspberry Pi, the Oracle Java runtime environment and development tools are automatically part of the list of packages installed. Here's a screenshot showing a login session to a Raspberry Pi running the 2013-09-25-wheezy-raspian distribution. The JDK is installed as the oracle-java7-jdk package and is utilizing the Java 7u40 release.
For those who either cannot or do not wish to perform an entire Raspian upgrade, the Oracle JDK is available via the following command:
$ sudo apt-get update && sudo apt-get install oracle-java7-jdk