I am packaging some JVM application with AdoptOpenJDK / 11 / HotSpot. I am using the arm32 build, which AFAICS is the only build suitable for Raspbian (running Buster). However, when I build my .deb package and try to install it via sudo dpkg -i mypackage_1.2.3_arm.deb, I get the error message
package architecture (arm) does not match system (armhf)
And I found the work around:
sudo dpkg --add-architecture arm
Why is the arm32 not by default compatible with Raspbian Buster? I mean, the application runs correctly after I add the architecture. Why isn't this architecture enabled by default? Or is there a better build of AdoptOpenJDK I should use?