How to play Minecraft Java Edition on Android using Termux proot

🇹🇼 中文版

Playing Minecraft Java Edition in Termux Proot on Android. No root required.

But why? We already have “Pojav Launcher”… because why not? The advantage is, with proot Linux, it is technically possbile to run any PC Minecraft clients, from MulticMC to HMCL, on Android and install any modpacks as your wish.

Currently everything is very experimental, the FPS of Minecraft is not good, the device will heat quickly and the shader will not working.

Before starting, you need mouses and keyboard for controlling players since Minecraft Java Edition does not support touching controls. Also, 6GB RAM phone is the minimumm requriement for running Minecraft Java Edition on Android.

1. Install Termux and Proot-distro

First install Termux from F-Droid

Second, setup Termux X11

Third, install a proot-distro, such as Debian

Fourth, enable GPU acceleration in Termux

2. Install Prism Minecraft Launcher

Prism Launcher is a third-party launcher for Minecraft, which is the fork of PolyMC (which is the fork of MultiMC). It can run multiple Minecraft instances so it will be easier to manage mods for different Minecraft versions.

Prism Launcher is avaiable in Pi-Apps. Pi-Apps is a helper script for installing apps on Raspberry Pi.

  1. Start virgl server. Log into Proot-distro. Start Termux X11. Start desktop environment.

  2. Install Pi-Apps in proot.

wget -qO- | bash
  1. Press Enter to continue.

  2. Install Prism Launcher

~/pi-apps/manage install 'Minecraft Java Prism Launcher'
  1. The script will install Prism Launcher and OpenJDK for you. However you may see “OpenJDK is not found”

  2. If OpenJDK is missing or downloading failed, install OpenJDK17 (for Minecraft 1.17+):

sudo apt install openjdk-17-jdk
  1. Check Java version: java -version

3. Launch Minecraft 1.19.3

For the detailed instrcution of setting up Prism Launcher, see official wiki.

  1. Launch Prism Launcher with the following parameters:
  1. Click Accounts at top-right. Log into your Microsoft account.

  2. Create a new instance for Minecraft 1.19.3. (Optionally) Install fabric and Sodium mod to improve graphics performance.

  3. Start the game. Go to Settings → Controls and turn off Mouse raw input.

  4. Press F3 in game to see if the virgl driver is in use.

4. Launch Minecraft versions older than 1.12.2

Older Minecraft versions (<= 1.12.2) require old openJDK versions.

  1. Because openJDK 8 is not available in Debian 11, you need to go to Adoptium to download openJDK 8 binares for aarch64 Linux.

  2. After downloading, extract the archive and move it to system path:

tar -zxv OpenJDK8U-jdk_aarch64_linux_hotspot_8u352b08.tar.gz
sudo mv jdk8u352-b08 /usr/lib/jvm
  1. Launch Prism Launcher with the following parameters. Do not add MESA_GL_VERSION_OVERRIDE=4.0.
GALLIUM_DRIVER=vripipe prismlauncher
  1. Create a Minecraft 1.12.2 instance. (Optionally) Install Forge and Optifine for better performance.

  2. Right-click and edit the instance, set the Java 8 path:

  3. Launch the game. Press F3 to see if virgl driver is working.

5. Import and export game data

The game data of Prism Launcher is located at ~/.local/share/PrismLauncher/.

Termux proot-distro should have mounted the internal storage of the phone to /sdcard directory in proot. Thus you could transfer files from your phone to proot using file manager in Proot.

Thanks for your reading. You are welcome to share articles of Ivon's Blog ( Please include the original URL when reprinting or citing articles, and abide by CC BY-NC-ND 4.0 license. For commercial use, please write an e-mail to me.

written by human, not by AI

If this article is helpful to you please consider supporting me.

Leave a comment

Choose the commenting system you like.

Please login to your Github account to leave a comment. You can post codes here for discussion. For images, please upload to Imgur and copy links. Your comments would be visible to everyone on Github Discussions.

This comment system is provided by Disqus, you may see some Disqus ADs on this page. You can leave a comment anonymously but you won't receive reply notifications.