toolbox4minecraft / amidst

Advanced Minecraft Interface and Data/Structure Tracking
GNU General Public License v3.0
2.14k stars 238 forks source link

I keep updating my Java but it always does this :( #1072

Open mauuuxde opened 2 years ago

mauuuxde commented 2 years ago

Capture d’écran, le 2021-10-11 à 17 58 19

paj1s commented 2 years ago

Im having the same problem at this very moment, update or downgrade of java or amidst doesn't help.

Moilleadoir commented 2 years ago

It would be useful to say what version of Java you’re using. For me, changing the default java version was the answer.

I had installed the standard jdk-openjdk package on Manjaro, but that doesn’t set the default java that’s actually used. Each OS does this a bit differently. For me, I used archlinux-java status to check what versions were available and it told me that java-8-openjdk was still the default. I changed it to 16 (sudo archlinux-java set java-16-openjdk) and Amidst was fine with MC 1.17.1. I still get an error with the latest snapshot, but I don’t know if that’s meant to be supported anyway.

On Ubuntu, the equivalent command is sudo update-alternatives --config java. On Windows, I think there’s a Java control panel to change the default. Just installing on Windows probably sets the default, but it’s worth checking.

ThreePG commented 2 years ago

I'm having the same issue and I am on version 16.0.1+9-24 which I believe 16 is required for Minecraft 1.17.1 so downgrading java will only risk making Minecraft unplayable.

For Window's users, open a command prompt and type java -version to see which version you're running.