upgrade to JDK 17 for the build process (required by Gradle 9)

This commit is contained in:
Irmen de Jong committed 2025-10-03 00:18:55 +02:00
1 parent c87eaf576d
commit 44f70da113
2 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -20,10 +20,10 @@ jobs:
make -j4
sudo make install
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: temurin
- name: Build and test with Gradle
+3 -2
View File
@@ -381,8 +381,9 @@ Fix it by adding an ``%import floats``.
Gradle error when building the compiler yourself
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If you get a gradle build error containing the line "No matching toolchains found for requested specification"
somewhere, it means that the Gradle build tool can't locate the correct version of the JDK to use.
You will need a JDK for Java version 11 or higher to build the compiler.
or "Gradle requires JVM 17 or later to run", it means that the Gradle build tool can't locate the correct version of the JDK to use.
You will need a Java JDK version 17 or higher to build the compiler.
(the compiler itself only needs Java 11 or higher to run though.)
Strange assembler errors
^^^^^^^^^^^^^^^^^^^^^^^^