Skip to content

Commit 357352f

Browse files
authored
Updating Java LTS Version in Documentation (#46016)
* Updated LTS Java version in Readme * second commit * updated yaml files
1 parent bb10e27 commit 357352f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ For tutorials, samples, quick starts and other documentation, visit [Azure for J
1313

1414
### Prerequisites
1515

16-
All libraries are baselined on Java 8, with testing and forward support up until the latest Java long-term support release (currently Java 17).
16+
All libraries are baselined on Java 8, with testing and forward support up until the latest Java long-term support release (currently Java 21).
1717

1818
## Available packages
1919

eng/pipelines/templates/jobs/ci.tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ jobs:
115115
runProxy: true
116116

117117
# If the Java test versions isn't one of the LTS versions, or in other words is the latest Java version we're
118-
# testing against and that isn't an LTS version at the time (ex. latest LTS is Java 17 but we're testing against
119-
# Java 18), then install the latest Java version and use that to run a full build for validation of the latest
118+
# testing against and that isn't an LTS version at the time (ex. latest LTS is Java 21 but we're testing against
119+
# Java 24), then install the latest Java version and use that to run a full build for validation of the latest
120120
# Java version.
121121
# Otherwise, run a normal test run.
122122
- template: /eng/pipelines/templates/steps/install-latest-jdk.yml

eng/pipelines/templates/jobs/live.tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ jobs:
8686
- template: /eng/pipelines/templates/steps/http-fault-injector.yml
8787

8888
# If the Java test versions isn't one of the LTS versions, or in other words is the latest Java version we're
89-
# testing against and that isn't an LTS version at the time (ex. latest LTS is Java 17 but we're testing against
90-
# Java 18), then install the latest Java version and use that to run tests.
89+
# testing against and that isn't an LTS version at the time (ex. latest LTS is Java 21 but we're testing against
90+
# Java 24), then install the latest Java version and use that to run tests.
9191
- template: /eng/pipelines/templates/steps/install-latest-jdk.yml
9292
parameters:
9393
LatestJdkFeatureVersion: $(LatestNonLtsJdkFeatureVersion)

sdk/tools/azure-sdk-archetype/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generate the right output for you.
3232
| package | (Optional) Specifies the package name to put the generated code into. If not specified, it is inferred from the groupId. |
3333
| azureLibraries | (Optional) A comma-separated list of Azure SDK for Java libraries, using their Maven artifact IDs. A list of such artifact IDs can be found [here](https://azure.github.io/azure-sdk/releases/latest/java.html). |
3434
| enableGraalVM | (Optional) By default GraalVM support will be enabled, but if `enableGraalVM` is set to false, the generated Maven POM file will not include support for compiling your application to a native image using GraalVM. |
35-
| javaVersion | (Optional) Specifies the minimum version of the JDK to target when building the generated project. By default it is the latest LTS release (currently Java 17), with valid ranges from Java 8 up. The value should just be the required Java version, for example, '8', '11', '17', etc. |
35+
| javaVersion | (Optional) Specifies the minimum version of the JDK to target when building the generated project. By default it is the latest LTS release (currently Java 21), with valid ranges from Java 8 up. The value should just be the required Java version, for example, '8', '11', '17', etc. |
3636
| junitVersion | (Optional) The version of JUnit to include as a dependency. By default JUnit 5 will be used, but valid values are '4' and '5'. |
3737

3838
If you would rather provide these values at the time of calling the archetype command above (for example, for

0 commit comments

Comments
 (0)