Objectbox-java: Support for Linux armv7 32 bit and armv8 64 bit

Created on 13 Feb 2019  ·  21Comments  ·  Source: objectbox/objectbox-java

Are there any plans to support the Linux armv7 32 bit platform?
I would like to use ObjectBox in a plain Java application (not Android) running on that platform.

feature

Most helpful comment

This release page contains a objectbox-linux-arm-2.4.0-SNAPSHOT.jar with a version built for ARMv7 (standard RPi setup). Could you check if that works for you and give some feedback?

All 21 comments

Would be nice to have such bindings, too, since it is the raspberry pi platform.
Please provide it soon.

Curious: what Java do you use on which Pi? And is performance and memory consumption OK?

Pi 3 B+ with Java 8 (openjdk) on raspbian. Yes everything is fine. But i would love to have objectbox!

We use an ARM board that has a Freescale i.MX7 processor (Cortex-A7 dual core).
OpenJDK 11 is running on top of a custom linux built with buildroot.
So far it runs quite well on that platform.

It would be great if object box support arm linux 64(not android).

It would not take too much effort to release arm v8 edition for desktop app. So, why not ?

Could anyone respond, please

It's something we're looking into. Having more people voting for this will influence our priorities.

It's something we're looking into. Having more people voting for this will influence our priorities.

Thanks for respond.

More words, I chose Object Box just because its supporting cross-platform features, as our project need a database running on windows, x86 Linux, arm Linux and Android. It works quite well, and we love it.
But with time goes on, we found that Object Box does not support arm Linux. I'm afraid that we have to use sqlite and write data storage module again, if Object Box does not support arm 64 Linux. So please~

I would also love to see Object Box on arm Linux e.g. running it on a Raspi.

Hey folks, do not forget to vote on the original comment. Otherwise it just appears 2 people want this (as of now)!

(We're aware that not just armv7 should be supported, but armv8 as well.)
-Uwe

For completeness: there is a C API in beta if that is helpful to anyone.
https://github.com/objectbox/objectbox-c

-Uwe

This release page contains a objectbox-linux-arm-2.4.0-SNAPSHOT.jar with a version built for ARMv7 (standard RPi setup). Could you check if that works for you and give some feedback?

Side note: there is now a preview release of ObjectBox for Python with support for Linux ARMv6hf (e.g. Raspberry PI Zero) and Linux ARMv7hf (e.g. Raspberry PI 3).
https://github.com/objectbox/objectbox-python
-Uwe

This release page contains a objectbox-linux-arm-2.4.0-SNAPSHOT.jar with a version built for ARMv7 (standard RPi setup). Could you check if that works for you and give some feedback?

It worked for me on RaspberryPi 3 B+

This objectbox-linux-arm-2.4.0-SNAPSHOT.jar (->libobjectbox-jni-linux-x86.so) has been here for over a year now.
Is there a newer version of it availiable? (Or is it still "up to date"?)
Is it planned to be included in a future release? (V2.x.y / V3.x.y)

(And will there be a fix to the naming? A filename like …linux-armeabi-v7a.so instead of …linux-x86.so)

For everyone interested in ARM support, please fill out this form. Then we'll reach out to you very soon... :smiley:

Support for Linux on ARMv7 and AArch64 (or ARM64) is available as of the just released 2.9.0:

To use, add implementation "io.objectbox:objectbox-linux-armv7:$objectboxVersion or implementation "io.objectbox:objectbox-linux-arm64:$objectboxVersion to your dependencies.

Otherwise the setup is identical with Java Desktop Apps.

I see the 🆕 2️⃣9️⃣0️⃣ version was just released (after already being tagged for 6 days), but the artifacts for linux arm still seem to be missing. 🤷‍♂️
I would expect jcenter (https://jcenter.bintray.com/io/objectbox/) to list objectbox-linux-armv7❌ and objectbox-linux-arm64❌ but for linux there is only the normal x64 build✔.

@greenrobot-team thank you for all your work.❤️ I'm looking forward to testing/using it soon. After all the work you have put in it looks like now there ist just a small step left to do: ⬆️uploading those artifcats📦

@p-schneider Oopsie, we uploaded to bintray but forgot to link these with JCenter. I've just requested the link, let's see if JFrog works it out before shutting down bintray. ;-) Anyway, you should be able to directly access the bintray repo now:

repositories {
maven {
url "https://dl.bintray.com/objectbox/objectbox"
}
}

Update: now available via: https://jcenter.bintray.com/io/objectbox/

(And yes, we're also working on getting everything to Maven Central.)

As this is available now, we'd love to hear from you on what you are working on. Please share what you are building here or privately via mail: contact [at] obj...box [dot] io

Was this page helpful?
0 / 5 - 0 ratings