Bump Java versions in install guides to latest available LTSes (#6759)

This commit is contained in:
Jakub Kuczys
2026-05-22 08:26:15 +02:00
committed by GitHub
parent 661e0f7f18
commit f6259ed0a2
13 changed files with 23 additions and 23 deletions
@@ -13,13 +13,13 @@ Install them with dnf:
sudo dnf -y update
sudo dnf -y group install development
sudo dnf -y install python3.11 python3.11-devel java-17-openjdk-headless nano git
sudo dnf -y install python3.11 python3.11-devel java-25-openjdk-headless nano git
Set ``java`` executable to point to Java 17:
Set ``java`` executable to point to Java 21:
.. prompt:: bash
sudo alternatives --set java "java-17-openjdk.$(uname -i)"
sudo alternatives --set java "java-21-openjdk.$(uname -i)"
.. Include common instructions:
@@ -11,7 +11,7 @@ Install them with dnf:
.. prompt:: bash
sudo dnf -y install python3.11 python3.11-devel git java-17-openjdk-headless @development nano
sudo dnf -y install python3.11 python3.11-devel git java-25-openjdk-headless @development nano
.. Include common instructions:
+1 -1
View File
@@ -17,7 +17,7 @@ them with dnf:
.. prompt:: bash
sudo dnf -y install python3.11 python3.11-devel git java-17-amazon-corretto-headless @development nano
sudo dnf -y install python3.11 python3.11-devel git java-25-amazon-corretto-headless @development nano
.. Include common instructions:
+1 -1
View File
@@ -16,7 +16,7 @@ Install the pre-requirements with pacman:
.. prompt:: bash
sudo pacman -Syu git jre17-openjdk-headless base-devel nano
sudo pacman -Syu git jre25-openjdk-headless base-devel nano
On Arch Linux, Python 3.11 can be installed from the Arch User Repository (AUR) from the ``python311`` package.
+1 -1
View File
@@ -19,7 +19,7 @@ them with dnf:
sudo dnf -y install python3.11 python3.11-devel git adoptium-temurin-java-repository @development-tools nano
sudo dnf config-manager setopt adoptium-temurin-java-repository.enabled=1
sudo dnf -y install temurin-17-jre
sudo dnf -y install temurin-25-jre
.. Include common instructions:
+1 -1
View File
@@ -28,7 +28,7 @@ one-by-one:
brew install python@3.11
brew install git
brew install temurin@17
brew install temurin@25
By default, Python installed through Homebrew is not added to the load path.
To fix this, you should run these commands:
+1 -1
View File
@@ -17,7 +17,7 @@ with zypper:
.. prompt:: bash
sudo zypper -n install python311 python311-devel git-core java-17-openjdk-headless nano
sudo zypper -n install python311 python311-devel git-core java-21-openjdk-headless nano
sudo zypper -n install -t pattern devel_basis
.. Include common instructions:
+1 -1
View File
@@ -17,7 +17,7 @@ with zypper:
.. prompt:: bash
sudo zypper -n install python311 python311-devel git-core java-17-openjdk-headless nano
sudo zypper -n install python311 python311-devel git-core java-25-openjdk-headless nano
sudo zypper -n install -t pattern devel_basis
.. Include common instructions:
+1 -1
View File
@@ -18,7 +18,7 @@ with apt:
.. prompt:: bash
sudo apt update
sudo apt -y install python3.10 python3.10-dev python3.10-venv git openjdk-17-jre-headless build-essential nano
sudo apt -y install python3.10 python3.10-dev python3.10-venv git openjdk-25-jre-headless build-essential nano
.. Include common instructions:
+1 -1
View File
@@ -24,7 +24,7 @@ Now install the pre-requirements with apt:
.. prompt:: bash
sudo apt -y install python3.11 python3.11-dev python3.11-venv git openjdk-17-jre-headless build-essential nano
sudo apt -y install python3.11 python3.11-dev python3.11-venv git openjdk-25-jre-headless build-essential nano
.. Include common instructions:
+2 -2
View File
@@ -39,7 +39,7 @@ For Audio support, you should also run the following command before exiting:
.. prompt:: powershell
choco upgrade temurin17 -y
choco upgrade temurin25 -y
From here, exit the prompt then continue onto `creating-venv-windows`.
@@ -66,7 +66,7 @@ Manually installing dependencies
.. attention:: Please choose the option to "Git from the command line and also from 3rd-party software" in Git's setup.
* `Java 17 <https://adoptium.net/temurin/releases/?version=17>`_ - needed for Audio
* `Java 25 <https://adoptium.net/temurin/releases/?version=25>`_ - needed for Audio
From here, continue onto `creating-venv-windows`.