Skip to content

Commit 8ce5f0e

Browse files
Better reflect this branch's requirements
1 parent 2c75843 commit 8ce5f0e

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
# mobile-openjdk8-build-multiarch
1+
# angelauramc-openjdk-build
22

3-
Based on http://openjdk.java.net/projects/mobile/android.html
3+
**This branch is for OpenJDK 17 and 21.**
4+
5+
Based on [Java for Android](http://openjdk.java.net/projects/mobile/android.html) and [the PojavLauncher variant](https://github.com/PojavLauncherTeam/android-openjdk-build-multiarch)
46

57
## Building
68

79
### Setup
810
#### Android
9-
- 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)
10-
- **Warning**: Do not attempt to build use newer or older NDK, it will lead to compilation errors.
11+
**Note:** We use Ubuntu 24.04 LTS to build our JDKs. Adapt these dependencies to your distribution, it should build fine.
12+
- Install `autoconf`, `python3`, `python-is-python3`, `unzip`, `zip`, `systemtap-sdt-dev`, `libxtst-dev`, `libasound2-dev`, `libelf-dev`, `libfontconfig1-dev`, `libx11-dev`, `libxext-dev`, `libxrandr-dev`, `libxrender-dev`, `libxtst-dev`, `libxt-dev`.
13+
- If building JDK 17, install `openjdk-17-jdk`. For 21, `openjdk-21-jdk`.
14+
- Install Android NDK r27b.
1115

1216
#### iOS
13-
- You should get latest Xcode (tested with Xcode 12).
17+
- Install latest Xcode on your Mac.
18+
- If building JDK 17, install JDK 17. For 21, install JDK 21.
1419

1520
### Platform and architecture specific environment variables
1621
<table>

0 commit comments

Comments
 (0)