Oracle Java Now Part of Raspberry Pi Raspian Distribution

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

Great news.

Comments:

Hi

Does that mean if I buy a RASPBERRY PI STARTER KIT, RASPIAN, CASED-UK it will come with Java installed?

Thanks

Paul

Posted by guest on October 20, 2013 at 10:23 AM EDT #

If the Raspberry Pi Starter Kit contains contains latest Raspian distribution, then yes. But if the starter kit has been sitting in inventory for a while, it may contain an older version. In this case, as the blog states, a one line command can be issued to get Java SE-Embedded installed.

Posted by guest on October 21, 2013 at 08:59 AM EDT #

root@raspberrypi:/# apt-get install oracle-java7-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package oracle-java7-jdk
root@raspberrypi:/#

Posted by guest on October 31, 2013 at 07:13 PM EDT #

Hmm, just thinking off the top of my head, is it possible you're not using the Raspbian (armhf) distribution and instead have one of the older Debian (armel) distros?

Posted by Jim Connors on November 01, 2013 at 08:45 AM EDT #

Hi

I've bought a NOOBS SD Card with Java inluded in Raspbian and have checked this is the OS I have loaded but getting exactly same error as your other guest

Posted by guest on November 01, 2013 at 03:46 PM EDT #

Have you taken a look at this?

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=81&t=59036&p=442375&hilit=oracle+jdk#p442375

Posted by Jim Connors on November 01, 2013 at 05:23 PM EDT #

To avoid any confusion, the wording of this blog has been modified to reflect the fact that the Oracle Java added to Raspian was the Oracle JDK, not Java SE-Embedded as originally stated. The primary difference here is that the JDK footprint, including development tools and all, is significantly larger than the Java SE-E footprint. If you would prefer to use Java SE-Embedded, you can download it here: http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html.

Posted by Jim Connors on November 08, 2013 at 08:26 AM EST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Jim Connors

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today