OpenJDK ARMv7 binaries for Linux

Grey, Chris UTC CCS Chris.Grey at automatedlogic.com
Mon Mar 19 11:39:09 UTC 2018


Thank you for each of your responses. 

The Linux distro we are using is a Yocto-based custom tarball using only the recipes that we needed in an effort to keep the entire tarball of the file system as small as possible. The bitbake application does all the cross-compiling for us. Now that we are expanding our embedded world to include Java, we now need a JVM, but would prefer to use Java 9, again to keep the filesystem footprint of the JVM as small as possible.

One of your responses mentioned the JVM possibly being included, in compiled form, in other Linux distros. Is there any chance there's a bitbake recipe that we can include to simply get bitbake to compile it directly into our distro? If so, where would I find info on that.

If not, are there any details pertinent to building the JVM from source that I should be aware of? If this were a traditional Linux-targetted source, I'd expect to run a configure script, which would generate a makefile that, then would complete the build. However this wouldn't be a traditional build. It's a cross-compile build where the make would need to know NOT to use the PC's native Linux GNU compiler and instead use the GNU ARM cross compiler. Thus I expect some manual configuration would be required along with likely numerous details about the target. Is there a website or a document that details exactly how this is done? Or am I simply imagining it being worse than it really is?

The other option is I do have a Beaglebone Black that I could attempt to natively compile the code on. I expect that would be quite slow, but if that route would actually be the simplest option, I'm open to trying that as well.

Thoughts?


Chris Grey
ALC/Firmware

________________________________________
From: aarch32-port-dev <aarch32-port-dev-bounces at openjdk.java.net> on behalf of Anton Kozlov <akozlov at azul.com>
Sent: Monday, March 19, 2018 6:37 AM
To: Grey, Chris                UTC CCS; aarch32-port-dev at openjdk.java.net
Subject: [External] Re: OpenJDK ARMv7 binaries for Linux

Hi, Chris,

On 16.03.2018 21:57, Grey, Chris                UTC CCS wrote:
> We are wanting to use the Open JDK Java 9 ... However if the Open JDK 8 binaries for ARM are also available, we'd like to get them too.

You can get Azul's latest OpenJDK 8 build from
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.azul.com_downloads_zulu-2Dembedded&d=DwICaQ&c=ilBQI1lupc9Y65XwNblLtw&r=pnpLNf5xnZMm_WTY63muGbH8kjDjFt2v-o_OZJmTHRM&m=rVH-XpAklTVECaLWCBG2QsxhSnKG-MerSziiBVRwd-M&s=YiRSImZVLLFiFrEMeVAtglud7e8djtyIXBInMtNSBFE&e=

"ARM v8/v7/v6 Hard Float ABI" variant should match your needs.

OpenJDK 9 binaries will show up there in the future, stay tuned :-)

Thanks,
Anton


More information about the aarch32-port-dev mailing list