1.5 KiB
1.5 KiB
Building HenLoader on Debian
Prerequisites
Install the required build tools and libraries:
sudo apt update
sudo apt install -y build-essential make pkg-config libbsd-dev
JDK Packages
The Makefile expects JDK 8 and JDK 11 packages in the thirdparty/ directory with specific filenames.
The exact versions specified in the Makefile may not be available, but compatible versions can be downloaded and renamed.
For x86_64 (amd64):
The packages should be named:
OpenJDK8U-jdk_x64_linux_hotspot_8u462b08.tar.gzOpenJDK11U-jdk_x64_linux_hotspot_11.0.28_6.tar.gz
You can download compatible versions and rename them, or use these commands:
cd thirdparty
wget -O OpenJDK8U-jdk_x64_linux_hotspot_8u462b08.tar.gz \
"https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u472-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u472b08.tar.gz"
wget -O OpenJDK11U-jdk_x64_linux_hotspot_11.0.28_6.tar.gz \
"https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.29%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.29_7.tar.gz"
For aarch64 (ARM64):
Similar approach - download compatible versions and rename to match the Makefile's expected filenames.
Building
Simply run:
make
This will:
- Extract JDK 8 from the tarball
- Build the makefs tool
- Compile the Java sources
- Sign the JAR files
- Assemble the Blu-ray disc structure
- Create the final ISO:
build/henloader.iso
Cleaning
To clean build artifacts:
make clean