This guide covers installing Infinite Client (a Fabric mod for Minecraft 1.21.11) on macOS, including setting up JDK 25 and configuring the Minecraft launcher.
- macOS (Intel or Apple Silicon)
- Minecraft Java Edition with the official Minecraft Launcher
- The Infinite Client .jar mod file (e.g.,
infinite-client-2.1.0+1.21.11.jar)
Infinite Client requires Java 25 due to its use of modern Java features like the Foreign Function & Memory API.
- Visit the OpenJDK Early Access Downloads
- Download the macOS version:
- Apple Silicon (M1/M2/M3):
macOS/AArch64 - Intel Mac:
macOS/x64
- Apple Silicon (M1/M2/M3):
- Extract the downloaded
.tar.gz:cd ~/Downloads tar -xzf openjdk-25_macos-*.tar.gz
- Move to the Java directory:
sudo mv jdk-25.jdk /Library/Java/JavaVirtualMachines/
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install OpenJDK 25 (Early Access)
brew install --cask openjdk@25After installation via Homebrew, create a symlink:
sudo ln -sfn /opt/homebrew/opt/openjdk@25/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-25.jdk/Library/Java/JavaVirtualMachines/jdk-25.jdk/Contents/Home/bin/java --versionYou should see output like:
openjdk 25-ea ...
- Download the Fabric Installer from fabricmc.net/use/installer
- Run the installer:
- Double-click
fabric-installer-x.x.x.jar - Select Client
- Choose Minecraft version: 1.21.11
- Click Install
- Double-click
- Close the installer when complete
- Open Finder and press
Cmd + Shift + G - Navigate to
~/Library/Application Support/minecraft - Create a
modsfolder if it doesn't exist - Copy the Infinite Client .jar file into the
modsfolder:~/Library/Application Support/minecraft/mods/infinite-client-2.1.0+1.21.11.jar
Infinite Client requires Fabric API and Fabric Language Kotlin:
- Download Fabric API (version 0.139.5+1.21.11 or compatible)
- Download Fabric Language Kotlin (version 1.13.7+kotlin.2.2.21 or compatible)
- Place both
.jarfiles in themodsfolder
-
Open the Minecraft Launcher
-
Click on Installations tab
-
Find the fabric-loader-1.21.11 installation and click the ⋯ (three dots) → Edit
-
Click More Options to expand advanced settings
-
In the Java Executable field, enter the path to JDK 25:
/Library/Java/JavaVirtualMachines/jdk-25.jdk/Contents/Home/bin/javaNote: If you installed via Homebrew, use:
/Library/Java/JavaVirtualMachines/openjdk-25.jdk/Contents/Home/bin/java -
In the JVM Arguments field, add these flags (required for native access):
-Xmx4G --enable-native-access=ALL-UNNAMED -Dforeign.restricted=permitAdjust
-Xmx4Gbased on your available RAM (4GB minimum recommended) -
Click Save
- In the Minecraft Launcher, select the fabric-loader-1.21.11 profile
- Click Play
- The game should launch with Infinite Client loaded
- Ensure you've set the correct Java Executable path in the launcher
- Verify JDK 25 is installed: run
/Library/Java/JavaVirtualMachines/jdk-25.jdk/Contents/Home/bin/java --version
- Make sure
--enable-native-access=ALL-UNNAMEDis in your JVM arguments - Add
-Dforeign.restricted=permitif not already present
- Ensure all dependencies (Fabric API, Fabric Language Kotlin) are in the
modsfolder - Check the Minecraft version matches (1.21.11)
- Check Fabric Loader version is 0.18.2 or later
To list all installed Java versions:
/usr/libexec/java_home -VTo get the path to a specific version:
/usr/libexec/java_home -v 25| Item | Location |
|---|---|
| Minecraft Folder | ~/Library/Application Support/minecraft |
| Mods Folder | ~/Library/Application Support/minecraft/mods |
| JDK 25 (Manual Install) | /Library/Java/JavaVirtualMachines/jdk-25.jdk |
| JDK 25 (Homebrew) | /Library/Java/JavaVirtualMachines/openjdk-25.jdk |
- Memory: Allocate at least 4GB RAM (
-Xmx4G) for optimal performance - Apple Silicon: The mod includes native ARM64 libraries for best performance on M1/M2/M3 Macs
- Updates: When updating the mod, simply replace the old
.jarfile with the new one in themodsfolder