Tutorial
Updated
How To Play Minecraft Java Edition On L4T Linux [Tutorial]
For this tutorial you need to have L4T Linux set up and updated.
This is a simple guide(as simple as I could make it) to installing all necessary things to get Minecraft Java Edition up and running.
I basically compiled a full version of various different tutorials I found scattered around that I used to make Minecraft work and play normally.
This is a simple guide(as simple as I could make it) to installing all necessary things to get Minecraft Java Edition up and running.
I basically compiled a full version of various different tutorials I found scattered around that I used to make Minecraft work and play normally.
- Open Terminal
- Type all of the following stuff in Terminal
Code:
sudo apt update
- Install the following dependencies:
Code:
sudo apt install openjdk-8-jdk
sudo apt install gradle openjdk-8-jdk libx11-dev xorg-dev
- Soft link libjawt
Code:
sudo ln -s /usr/lib/jvm/java-8-openjdk-arm64/lib/aarch64/libjawt.so /usr/lib/libjawt.so
- Compile LWJGL
Code:
git clone https://github.com/LWJGL/lwjgl
cd lwjgl
ant generate-all
ant compile_native
- Copy Binaries
Code:
mkdir -p ~/.minecraft/natives
cp ~/lwjgl/libs/linux/liblwjgl.so ~/.minecraft/natives/
cp ~/lwjgl/libs/linux/libopenal.so ~/.minecraft/natives/
- Setup environment variable (you need to run this command in terminal every time you close terminal and re-open it to launch Minecraft again otherwise the game will crash)
Code:
export _JAVA_OPTIONS='-Djava.library.path=/home/YOURUSERNAME/.minecraft/natives/'
- Play Minecraft
Code:
wget https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar
java -jar Minecraft.jar
- Use your Minecraft Account to Login to the launcher
- Choose the version you want to play in settings (has to be Minecraft 1.12.2 or lower, newer versions make the game crash)
- Click Play and if you did everything right it should launch and play without a problem
- NOTE: If you want to use Optifine with it just download the Optifine jar for your version (again 1.12.2 or lower) and run the following command and click install:
Code:
java -jar Optifine(version number).jar
- Then when you start the Minecraft launcher again a new profile should come up named Optifine, just start Minecraft with that profile instead of your other one.
- Also apparently if you type into Terminal "sudo jetson_clocks" it will give you more fps ingame? Not tested it yet.
Last edited by OverkillLabs,