PojavLauncher runs Minecraft through a full Java runtime bundled on your device, which means you have real control over the JVM that launches the game. The Java settings screen lets you install and switch between multiple Java runtimes, pass arbitrary JVM flags, cap the heap size, and toggle the security sandbox. Getting these values right is one of the most impactful things you can do for stability and performance.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pojavlauncherteam/pojavlauncher/llms.txt
Use this file to discover all available pages before exploring further.
Runtime Manager
Opens the Multi-Runtime Manager dialog, where you can:
- View all currently installed Java runtimes
- Install a new runtime from a
.tar.xzarchive (via the system file picker) - Set which runtime is used as the default
- Remove runtimes you no longer need
The name of the Java runtime that will be used when launching any profile that does not specify an explicit runtime. The value is set automatically to the first entry returned by the runtime manager when no preference has been saved yet.
Memory
Amount of RAM in megabytes allocated to the Minecraft JVM heap (
Maximum seekbar cap (from
-Xmx). The seekbar is capped at a device-safe maximum calculated at runtime to ensure the Android OS itself retains enough memory to operate.Auto allocation logic — findBestRAMAllocation() picks a default based on total device RAM:| Device RAM | Default Allocation |
|---|---|
| < 1 024 MB | 296 MB |
| < 1 536 MB | 448 MB |
| < 2 048 MB | 656 MB |
| Any 32-bit device | 696 MB (hard cap) |
| < 3 064 MB | 936 MB |
| < 4 096 MB | 1 144 MB |
| < 6 144 MB | 1 536 MB |
| ≥ 6 144 MB (64-bit) | 2 048 MB |
LauncherPreferenceJavaFragment):- 32-bit device or < 2 GB RAM →
min(1024, deviceRam)MB - Otherwise →
deviceRam − 800MB (< 3 064 MB) ordeviceRam − 1024MB (≥ 3 064 MB)
Custom JVM Arguments
A space-separated list of additional arguments passed directly to the JVM before the Minecraft main class. Useful for enabling garbage-collector tuning, system properties, and modding framework flags.Common examples:
Security
Enables a lightweight Java security manager that restricts what Minecraft mods can do at the OS level — for example, preventing them from spawning arbitrary subprocesses or accessing files outside the game directory.
Related Pages
Multi-Runtime Manager
Step-by-step guide to installing, switching, and removing Java runtimes.
Experimental Settings
Additional power-user options including download mirrors and manifest verification.