One of our longstanding goals has been for Raspberry Pi to ship with a complete set of common programming languages. Until now, there’s been one glaring omission from this list: Java, which by some estimates is the most popular language of all (duck and cover – flamewar incoming).
It’s therefore fantastic to be able to announce that we’ve added the official hard-float Oracle Java 7 JDK to our repository. Oracle Java offers significant performance advantages over OpenJDK on ARM platforms, and will expand the range of Java applications that run well on the Pi.
All future Raspbian images will ship with Oracle Java by default; existing users can install it by typing:
sudo apt-get update && sudo apt-get install oracle-java7-jdk
We’d like to thank our friends at Oracle for their hard work in making this possible.