2023-05-03 18:24:11 +02:00
2023-05-03 18:19:23 +02:00
2023-02-26 08:31:03 +07:00
2021-05-24 16:04:36 +07:00
2023-02-26 08:31:03 +07:00
2023-02-26 08:31:03 +07:00
2023-05-03 13:38:15 +02:00
2022-08-16 12:26:27 +07:00
2023-05-03 18:12:36 +02:00
2023-02-26 08:31:03 +07:00
2020-07-20 18:13:39 +07:00
2020-06-29 15:49:04 -07:00
2018-03-10 00:24:36 -05:00
2021-05-15 19:43:22 +07:00
2022-08-16 12:26:27 +07:00
2022-08-16 12:26:27 +07:00
fix
2021-06-11 09:13:08 +07:00
2020-11-01 06:44:51 +07:00
2022-04-29 20:34:38 +03:00
2023-05-03 15:10:26 +02:00
2023-05-03 18:24:11 +02:00
2023-05-03 18:24:11 +02:00

mobile-openjdk8-build-multiarch

Based on http://openjdk.java.net/projects/mobile/android.html

Building

Setup

Android

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

Run in this directory:

export BUILD_IOS=1 # only when targeting iOS, default is 0 (target Android)

export BUILD_FREETYPE_VERSION=[2.6.2/.../2.10.4] # default: 2.10.4
export JDK_DEBUG_LEVEL=[release/fastdebug/debug] # default: release
export JVM_VARIANTS=[client/server] # default: client (aarch32), server (other architectures)

# Setup NDK, run once (Android only)
./extractndk.sh
./maketoolchain.sh 

# Get CUPS, Freetype and build Freetype
./getlibs.sh
./buildlibs.sh

# Clone JDK, run once
./clonejdk.sh

# Configure JDK and build, if no configuration is changed, run makejdkwithoutconfigure.sh instead
./buildjdk.sh

# Pack the built JDK
./removejdkdebuginfo.sh
./tarjdk.sh
Description
Build and packaging script for building OpenJDK, used for Amethyst
Readme 3.1 MiB
Languages
C 94%
Shell 6%