@@ -9,7 +9,7 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d
99| Input Name | Default Value | Description |
1010| -----------------------| --------------:| -----------------------------------------------------------------|
1111| ` website ` | ` oracle.com ` | From where the JDK should be downloaded from. |
12- | ` release ` | ` 22 ` | Java feature release number or name of an Early-Access project. |
12+ | ` release ` | ` 23 ` | Java feature release number or name of an Early-Access project. |
1313| ` version ` | ` latest ` | An explicit version of a Java release. |
1414| ` install ` | ` true ` | Install the downloaded JDK archive file. |
1515| ` install-as-version ` | _ empty_ | Control the value passed as ` java-version ` |
@@ -22,7 +22,7 @@ It defaults to `oracle.com`.
2222
2323Following values are supported:
2424
25- - [ ` oracle.com ` ] ( https://www.oracle.com/java/technologies/downloads/ ) for Oracle JDK 17 and later.
25+ - [ ` oracle.com ` ] ( https://www.oracle.com/java/technologies/downloads/ ) for Oracle JDK 21 and later.
2626
2727 This action only supports Oracle JDKs provided under the [ Oracle No-Fee Terms and Conditions License] ( https://www.java.com/freeuselicense/ ) .
2828
@@ -34,18 +34,18 @@ Following values are supported:
3434
3535### Input ` release `
3636
37- The ` release ` input denotes a Java feature release number (` 17 ` , ` 18 ` , ...) or a name of an Early-Access project (` loom ` , ...).
38- It defaults to the current General-Availability Release for the Java SE platform., which is ` 22 ` as of today.
37+ The ` release ` input denotes a Java feature release number (` 21 ` , ` 22 ` , ...) or a name of an Early-Access project (` loom ` , ...).
38+ It defaults to the current General-Availability Release for the Java SE platform., which is ` 23 ` as of today.
3939
4040Note that websites may offer a different set of available releases.
41- For example, ` oracle.com ` only offers releases of ` 17 ` and above; it does not offer any Early-Access releases.
41+ For example, ` oracle.com ` only offers releases of ` 21 ` and above; it does not offer any Early-Access releases.
4242
4343Note also that websites may stop offering any release at any time.
4444Please consult the website for details which release is offered for how long.
4545
4646### Input ` version `
4747
48- The ` version ` input can be used to specify an explicit version of a Java release, ex. ` 17 .0.1 ` .
48+ The ` version ` input can be used to specify an explicit version of a Java release, ex. ` 21 .0.4 ` .
4949It is set by default to ` latest ` .
5050
5151___
@@ -69,7 +69,7 @@ Pass `false` to skip the automatic JDK installation and invoke `actions/setup-ja
6969The ` install-as-version ` input allows overriding the value passed as ` java-version ` to the underlying ` actions/setup-java ` action.
7070
7171Supported values of ` install-as-version ` include:
72- - ` PARSE_URI ` parses the computed or given URI for a valid Java version string, ex. ` 17 .0.1 ` .
72+ - ` PARSE_URI ` parses the computed or given URI for a valid Java version string, ex. ` 21 .0.4 ` .
7373- ` HASH_URI ` returns the ` hashCode() ` of the computed or given URI as a string, ex. ` 12345 ` .
7474- All strings [ supported by ` actions/setup-java ` ] ( https://github.com/actions/setup-java#supported-version-syntax )
7575
@@ -90,23 +90,23 @@ The following examples use the [JDK Script Friendly URLs](https://www.oracle.com
9090
9191``` yaml
9292steps :
93- - name : ' Set up latest Oracle JDK 22 '
93+ - name : ' Set up latest Oracle JDK 23 '
9494 uses : oracle-actions/setup-java@v1
9595 with :
9696 website : oracle.com
97- release : 22
97+ release : 23
9898` ` `
9999
100100### Download and install a specific version of Oracle JDK
101101
102102` ` ` yaml
103103steps :
104- - name : ' Set up archived Oracle JDK 17 .0.10 '
104+ - name : ' Set up archived Oracle JDK 21 .0.4 '
105105 uses : oracle-actions/setup-java@v1
106106 with :
107107 website : oracle.com
108- release : 17
109- version : 17 .0.10
108+ release : 21
109+ version : 21 .0.4
110110` ` `
111111___
112112
@@ -128,7 +128,7 @@ steps:
128128 uses: oracle-actions/setup-java@v1
129129 with:
130130 website: jdk.java.net
131- release: N # Replace N with GA, EA, 17, 18, 19 , ...
131+ release: N # Replace N with GA, EA, 21, 22, 23 , ...
132132` ` `
133133
134134> [!NOTE]
0 commit comments