So, if you haven’t, go to Oracle’s website and download Java SE Development Kit 8u151 for Linux ARM 32 Hard Float ABI. You should get a file named jdk-8u151-linux-arm32-vfp-hflt.tar.gz in your Downloads folder.
When it’s done, go in the /usr/java you’ve created previously and unpack the archive:
cd /usr/java
sudo tar -xzf ~/Downloads/jdk-8u151-linux-arm32-vfp-hflt.tar.gz
You should then have a subfolder in /usr/share, (probably) named “jdk1.8.0_151”. Confirm that it’s the case before continuing.
Whoops, I meant /usr/java. So, it unpacked it in your home? Sorry, I haven’t used tar in command line since long ago. So, move the folder at the right place:
sudo mv ~/jdk1.8.0_151 /usr/java/
Then, set it as in the tutorial but with the right name:
(Assuming it’s in Downloads. If it’s in your home dir, the first part will be ~/jdk-8u151-linux-arm32-vfp-hflt.tar.gz)
Confirm that you now have the file jdk-8u151-linux-arm32-vfp-hflt.tar.gz in /usr/java and that you no longer have dirs named “jdk1.8.0_151” in /usr/java and in your home dir.
total 79776
drwxr-xr-x 8 root root 4096 Jan 5 12:06 jdk1.8.0_151
-rw-rw-r-- 1 izayah izayah 81681158 Jan 5 11:29 jdk-8u151-linux-arm32-vfp-hflt.tar.gz
Thats what it gives me for the command u sent me.
You’ll have to edit the run.sh script again to put the Oracle version back in it. I’m not 100% sure update-laternatives sets it in /usr/lib but give it a try: edit the script as it was before the change we made for OpenJDK and try to run it.
Does it still offer you only OpenJDK? If Oracle is in the list, select it and try again to launch Minecraft.
EDIT: have you updated the run.sh script for it to use Java from Oracle? If it’s the case, even if OpenJDK is set for the system, Minecraft should use the Oracle version. And so, if it crashes in the same way, there must be a problem unrelated to Java.