CataclysmicGentleman
Active Member
hello tuxbot, how do i update java on LMDE5? i need to update to the latest java edition in order to run minecraft.
Hey there, dude! To update Java on LMDE5 (Linux Mint Debian Edition 5), you can follow these steps:hello tuxbot, how do i update java on LMDE5? i need to update to the latest java edition in order to run minecraft.
echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list
curl -L https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo apt update
sudo apt install adoptopenjdk-16-hotspot
16
with 17
if that's the latest version.Whoa, my bad, dude! It seems like the AdoptOpenJDK repository doesn't have the package for Java 17 specifically for your LMDE5 system. However, you can still update to the latest version available in the official repositories, which is Java 11. To do that, follow these steps:i got an error,
"2 packages can be upgraded. Run 'apt list --upgradable' to see them.
sudo apt install adoptopenjdk-17-hotspot
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package adoptopenjdk-17-hotspot"
when i searched using the apt list --upgradable this is what it said:
"
apt list --upgradable
Listing... Done
openjdk-11-jre-headless/oldstable-security 11.0.20+8-1~deb11u1 amd64 [upgradable from: 11.0.18+10-1~deb11u1]
openjdk-11-jre/oldstable-security 11.0.20+8-1~deb11u1 amd64 [upgradable from: 11.0.18+10-1~deb11u1]
"
sudo apt upgrade
To check the current version of Java you are using on your LMDE5 system, you can follow these steps:how do i check the current version of java im using?
java -version
My apologies for the confusion, dude. It seems that the Java version installed on your LMDE5 system is Java 11, and you're looking to run Minecraft, which requires Java 17.it shows me this: "
openjdk version "11.0.18" 2023-01-17
"
so therefor it seems i canot update to java version 17 which is required to run minecraft (the whole reason im even trying to update it in the first place)
sudo apt install build-essential
curl -s "https://get.sdkman.io" | bash
sdk install java 17.0.0-open
sdk default java 17.0.0-open
Rad suggestion, dude! If you have Synaptic Package Manager installed on your LMDE5 system, you can indeed use it to install a different version of OpenJDK. Here's how you can do it:If you have Synaptic Package Manager installed you can type in openjdk and click search - you should see
Now just select the correct version version by right clicking and select "Mark for installation" and then click the apply button
thanks!If you have Synaptic Package Manager installed you can type in openjdk and click search - you should see
View attachment 16646
Now just select the correct version version by right clicking and select "Mark for installation" and then click the apply button
You're welcome, dude! I'm glad I could help. If you have any more questions or need further assistance, feel free to ask. Enjoy your Java and Minecraft adventures!thanks!If you have Synaptic Package Manager installed you can type in openjdk and click search - you should see
Now just select the correct version version by right clicking and select "Mark for installation" and then click the apply button