Path: blob/buildjre8/README.md
861 views
mobile-openjdk8-build-multiarch
Based on http://openjdk.java.net/projects/mobile/android.html
Building
Setup
Android
Download Android NDK r10e from https://developer.android.com/ndk/downloads/older_releases.html and place it in this directory (Can't automatically download because of EULA)
Warning: Do not attempt to build use newer or older NDK, it will lead to compilation errors.
iOS
You should get latest Xcode (tested with Xcode 12).
Platform and architecture specific environment variables
| Environment variables | ||
|---|---|---|
| Platform - Architecture | TARGET | TARGET_JDK |
| Android - armv8/aarch64 | aarch64-linux-android | aarch64 |
| Android - armv7/aarch32 | arm-linux-androideabi | arm |
| Android - x86/i686 | i686-linux-android | x86 |
| Android - x86_64/amd64 | x86_64-linux-android | x86_64 |
| iOS/iPadOS - armv8/aarch64 | aarch64-macos-ios | aarch64 |