Skip to main content

How to play Minecraft Java Edition on Android using Termux proot

Categories   Smartphone Termux Tutorial
Tags   Raspberry Pi Minecraft Termux
Table of Contents

🇹🇼 中文版

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. 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.


Fix [Process completed (signal 9) - press Enter] for Termux on Android 12+ devices
Categories   Smartphone Termux Tutorial
Tags   Termux
Run Windows exe on Android through Proot Exagear on Termux
Categories   Smartphone Termux Tutorial
Tags   Termux Windows Android
[Root] Box86 + Wine in 64bit chroot on Android
Categories   Smartphone Termux Tutorial
Tags   Termux

Leave a comment

Choose the comment system you like. Giscus for codes, Disqus for anonymous comments.

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 forcing Disqus ADs on this page. Sometimes your comment may need to be reviewed, resulting in delayed display. Thank you for your understanding.