diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 39939398..37b0c161 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -23,7 +23,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/.github/workflows/latest-stable-compatibility-tests.yaml b/.github/workflows/latest-stable-compatibility-tests.yaml index b780d286..c205c906 100644 --- a/.github/workflows/latest-stable-compatibility-tests.yaml +++ b/.github/workflows/latest-stable-compatibility-tests.yaml @@ -19,7 +19,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/.github/workflows/maven-regression.yaml b/.github/workflows/maven-regression.yaml index 02346122..f95e29e0 100644 --- a/.github/workflows/maven-regression.yaml +++ b/.github/workflows/maven-regression.yaml @@ -20,7 +20,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/.github/workflows/native-mode-tests.yaml b/.github/workflows/native-mode-tests.yaml index 65986cf6..7a5597b6 100644 --- a/.github/workflows/native-mode-tests.yaml +++ b/.github/workflows/native-mode-tests.yaml @@ -20,7 +20,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7d941b62..2b396f35 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/.github/workflows/quickstart-tests.yaml b/.github/workflows/quickstart-tests.yaml index 5bb90534..62a8c62a 100644 --- a/.github/workflows/quickstart-tests.yaml +++ b/.github/workflows/quickstart-tests.yaml @@ -18,7 +18,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/.github/workflows/static-code-analysis.yaml b/.github/workflows/static-code-analysis.yaml index e0dcdae1..e0b331c4 100644 --- a/.github/workflows/static-code-analysis.yaml +++ b/.github/workflows/static-code-analysis.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 691a802a..70f749e8 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin cache: 'maven' diff --git a/README.md b/README.md index 99ad1a5a..135cde3a 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ so-called "HTTP APIs" are usually not. ## Usage ### Quarkus 3.X / Java 11+ -Make sure JDK 11 is in your PATH, then run: +Make sure JDK 17 is in your PATH, then run: ```shell mvn io.quarkus:quarkus-maven-plugin:3.6.3:create \ -DprojectGroupId=problem \ diff --git a/run-jvm-tests b/run-jvm-tests index ffcef0f1..7e2d8fdf 100755 --- a/run-jvm-tests +++ b/run-jvm-tests @@ -2,14 +2,14 @@ java_ver=$(java -version 2>&1 | head -1 | cut -d'"' -f2 | sed '/^1\./s///' | cut -d'.' -f1) -if [[ "$java_ver" != "11" ]]; then - read -p "Expected Java version is 11, while $java_ver was found. Switch to java 11 (y/n)? " choice +if [[ "$java_ver" != "17" ]]; then + read -p "Expected Java version is 17, while $java_ver was found. Switch to java 17 (y/n)? " choice if [[ "$choice" != "y" ]]; then exit; fi - echo "Switching java version to 11" - export JAVA_HOME=$(/usr/libexec/java_home -v 11); + echo "Switching java version to 17" + export JAVA_HOME=$(/usr/libexec/java_home -v 17); fi set -x diff --git a/run-native-tests b/run-native-tests index 46cce763..234738e1 100755 --- a/run-native-tests +++ b/run-native-tests @@ -2,14 +2,14 @@ java_ver=$(java -version 2>&1 | head -1 | cut -d'"' -f2 | sed '/^1\./s///' | cut -d'.' -f1) -if [[ "$java_ver" != "11" ]]; then - read -p "Expected Java version is 11, while $java_ver was found. Switch to java 11 (y/n)? " choice +if [[ "$java_ver" != "17" ]]; then + read -p "Expected Java version is 17, while $java_ver was found. Switch to java 17 (y/n)? " choice if [[ "$choice" != "y" ]]; then exit; fi - echo "Switching java version to 11" - export JAVA_HOME=$(/usr/libexec/java_home -v 11); + echo "Switching java version to 17" + export JAVA_HOME=$(/usr/libexec/java_home -v 17); fi set -e