Download 8 Java SE Embedded - what version for my PII?

Something I struggle with that is to know which download to my RPi.

I keep reading that I have to use the hard version of floating point.  That being said, here are the 8 Java SE embedded only version I see with HardFP: ARMv7 Linux - VFP, ABI HardFP, little Endian1

On my IPD, here is the output of "uname - a".

> Linux bsrpi 3.10.34 + #661 PREEMPT Thu Mar 27 00:36:02 GMT 2014 armv6l GNU/Linux

Will be the HardFP version on the download page on my PII?   , It seems to be arm6. 


The only thing I see is available with ARMv6: ARMv6/7 Linux - VFP, ABI SoftFP, little Endian2

If you have the answer or even refer me to a good site that explains the differences, I would be very grateful.  If this isn't the case, I'll just keep pulling my hair out!  :-)

Thanks for any help you have.

Brent tasks

I received assistance from Stephen Chin on it!  Thanks Steve.  You can see his excellent work here: Steve on Java

I also found some information on the blog of Hinkmond Wong: https://blogs.oracle.com/hinkmond/entry/even_quicker_guide_to_install

I paste a modified version of the conversation and information here for other wandering souls!

METHOD 1 - Download & deploy, options for compact profiles

Most of the distributions of Raspberry Pi have been hard float for awhile...  To check, look for the following file:

/ lib/ARM-Linux-gnueabihf

If it exists, you run hard float.

Once you have your feet on a generation of hard float, take the latest Java 8 from here:

http://www.Oracle.com/technetwork/Java/javase/downloads/jdk8-downloads-2133151.html

Catch the first titled 'jdk-8-linux-arm-vfp-hflt.tar. . gz"

To make the work of compact profile to learn how SE incorporated is used (and compact profiles work) go to the downloads on this page: http://www.oracle.com/technetwork/java/embedded/downloads/java-embedded-java-se-download-359230.html

and start with this one: ejdk-8-fcs-b132-linux-arm-vfp-hflt-03_mar_2014.tar.gz (ARMv7 Linux - VFP, HardFP ABI, little endian)

then use jrecreate to reduce it.

METHOD 2 - use apt - get on the Raspberry Pi, complete "embedded" version of the JDK

From the Linux command line > sudo apt - get update & sudo apt-get install oracle-java8-jdk

Note: read the blog post of Hinkmond and an excellent explanation in the comments on the meaning of SE Embedded section

Enjoy!

Brent S

Tags: Java

Similar Questions

Maybe you are looking for