I don't know if I'm allowed to write this, if not, it wouldn't be a problem to get him out of here. I saw several people with this same problem and I would like them to know this:
I managed to solve it, it was a silly thing. For those with the same problem (Ubuntu 20.04 with Java 11):
→ Check the version of java (if version 11, continue): #java -version → Remove the java (if you have the best synaptic) → Test if the java has been removed: #java -version → Remove the /opt/ minecraft-launcher folder: #rm -rf /opt/minecraft* → Install openjdk 8 or java 8: #sudo apt install openjdk-8-jre → Download the launcher from the official minecraft website at .tar.gz or access this link: (https://launcher.mojang.com/download/Minecraft.tar.gz) → Unzip the .tar.gz file: #tar -zxvf Minecraft.tar.gz → Move the "minecraft-launcher" folder to /opt/: #sudo mv minecraft-launcher /opt/ → In the /opt/ minecraft-launcher folder, run minecraft-launcher
If you don't have the /opt folder create with: #sudo mkdir /opt To go to a directory use: #cd "directory"
I don't know if I'm allowed to write this, if not, it wouldn't be a problem to get him out of here. I saw several people with this same problem and I would like them to know this:
I managed to solve it, it was a silly thing. For those with the same problem (Ubuntu 20.04 with Java 11):
→ Check the version of java (if version 11, continue): #java -version
→ Remove the java (if you have the best synaptic)
→ Test if the java has been removed: #java -version
→ Remove the /opt/ minecraft-launcher folder: #rm -rf /opt/minecraft*
→ Install openjdk 8 or java 8: #sudo apt install openjdk-8-jre
→ Download the launcher from the official minecraft website at .tar.gz or access this link: (https://launcher.mojang.com/download/Minecraft.tar.gz)
→ Unzip the .tar.gz file: #tar -zxvf Minecraft.tar.gz
→ Move the "minecraft-launcher" folder to /opt/: #sudo mv minecraft-launcher /opt/
→ In the /opt/ minecraft-launcher folder, run minecraft-launcher
If you don't have the /opt folder create with: #sudo mkdir /opt
To go to a directory use: #cd "directory"