A recent press release from Oracle suggests that they have just released a JVM for Raspbian. The key text is:

Java SE 7 Update 6 introduces a JDK for Linux on ARM v6 and v7 to address “general purpose” ARM systems, such as those used for the emerging micro-server ARM market, and for development platforms such as Raspberry Pi. This new JDK for Linux on ARM is made available under the Oracle Binary Code License and is available for download at no cost for development and production use on general-purpose platforms.

Have they really released a hard float JVM, and if so, how can I get it and install it on a Raspbian system?

  • 1
    Redwood Shores, CA – August 14, 2012 : Very recent I'd say! I'll keep an eye on this :)
    – Jivings
    Commented Aug 14, 2012 at 22:08
  • Note that you will want the small footprint JVM when it arrives - the Raspberry is a small device seen with Java eyes. Commented Aug 15, 2012 at 6:16
  • Possibly more important than the hard/soft float question is whether Oracle managed to get their JIT compiler working correctly on ARM. Assuming you're not doing some serious maths I'd bet the jit compiler represents a larger performance increase than hardware float support.
    – Dan B
    Commented Aug 22, 2012 at 18:07
  • It now looks as though the new developer preview of Java 8 is hard float and does run on the pi! h-online.com/open/news/item/… Commented Dec 19, 2012 at 21:04

3 Answers 3


The filename of the installer is jdk-7u6-linux-arm-sfp.tar.gz so it's soft-float and not hard-float.

Oracle states in this press release:

One caveat is that the current binary is softfloat ABI only, so it won't work with (for example) the Raspbian distribution which uses the hardfloat ABI. We are planning to add hardfloat support in an upcoming JDK release, as well as support for JavaFX on ARM.

  • That is not the news I was hoping for... :-( Looking forward to the next release... Commented Aug 15, 2012 at 6:02
  • 1
    Will OpenSDK not suffice for you at the moment?
    – Piotr Kula
    Commented Aug 15, 2012 at 7:19
  • The OpenJDK works, but is very slow, and the Cacao JIT is fundamentally broken. If performance isn't an issue, the plain OpenJDK is fine. Commented Aug 15, 2012 at 7:36
  • You can use the soft-float version with the e.g. Debian arm image. The overall Linux performance is worse, but the Java performance is significant better.
    – keiki
    Commented Aug 15, 2012 at 15:02

Oracle have now released a developer preview of Java 8 that works on the Raspberry Pi (hard-float)


Oracle released the full Version (no longer preview) of Java 8 and Java 7 for the ARM architecture of the Raspberry Pi: link to Java 8.

You can also use from the command line:

sudo apt-get update
sudo apt-get install oracle-java8-jdk
  • This package does not exist in the current default Jessie repositories.
    – palswim
    Commented Aug 22, 2017 at 14:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.