Skip to content

Commit d250242

Browse files
Merge pull request #5920 from madurangasiriwardena/java21
Update Java versions for the deployment
2 parents 0c384b1 + bab9e1b commit d250242

5 files changed

Lines changed: 14 additions & 18 deletions

File tree

en/identity-server/next/docs/deploy/deployment-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The above recommendations can change based on the expected concurrency and perfo
6464
</tr>
6565
<tr class="even">
6666
<th>Java</th>
67-
<td>Open JDK 11</td>
67+
<td>Open JDK 21</td>
6868
</tr>
6969
<tr class="odd">
7070
<th>Web browsers</th>

en/identity-server/next/docs/deploy/get-started/install.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Before installing any WSO2 Identity Server, it is necessary to have the appropri
3737
<th><p>Operating Systems/ Databases/ Userstores</p></th>
3838
<td><div class="content-wrapper">
3939
<ul>
40-
<li>WSO2 Identity Server requires JDK compliant with Java 11, Java 17 or Java 21. This will run on most common platforms that <strong>support Java 11, Java 17 or Java 21.</strong> .</li>
40+
<li>WSO2 Identity Server requires JDK compliant with Java 21 or Java 25. This will run on most common platforms that <strong>support Java 21 or Java 25</strong>.</li>
4141
<li>All WSO2 Carbon-based products are generally compatible with most common DBMSs. The embedded H2 database is suitable for development and testing. For enterprise production environments we recommend an industry-standard RDBMS such as Oracle, PostgreSQL, MySQL, MS SQL, etc. <!--For more information, see <a href="{{base_path}}/deploy/work-with-databases">Working with Databases</a>-->.</li>
4242
<li>WSO2 Identity Server supports using any of the following as a user store :
4343
<ul>
@@ -98,8 +98,8 @@ These applications are mandatory and are required to run the binary distribution
9898
</ul></td>
9999
<td><div class="content-wrapper">
100100
<ul>
101-
<li><p>Oracle JDK 11</p></li>
102-
<li><p>OpenJDK 11</p></li>
101+
<li><p>Oracle JDK 21</p></li>
102+
<li><p>OpenJDK 21</p></li>
103103
</ul>
104104
</div></td>
105105
<td><div class="line number1 index0 alt2">
@@ -193,17 +193,17 @@ Setting `JAVA_HOME` is a standard practice when you are using Java-based program
193193
Environment variables are global system variables accessible by all the processes running in the operating system.
194194

195195
1. In your home directory, open the BASHRC file (.bash_profile file on macOS) using a text editor such as vi, emacs, pico, or mcedit.
196-
2. Assuming you have JDK 11.0.14 in your system, add the following two lines at the bottom of the file (Replace `/usr/java/jdk-11.0.14` with the path of your JDK installation). directory where the JDK is installed.
196+
2. Add the following lines at the bottom of the file (Replace `<JDK_INSTALLATION_PATH>` with the path of your JDK installation). directory where the JDK is installed.
197197

198198
=== "Linux"
199199
```java
200-
export JAVA_HOME=/usr/java/jdk-11.0.14
200+
export JAVA_HOME=<JDK_INSTALLATION_PATH>
201201
export PATH=${JAVA_HOME}/bin:${PATH}
202202
```
203203

204204
=== "macOS"
205205
```java
206-
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.14/Contents/Home
206+
export JAVA_HOME=<JDK_INSTALLATION_PATH>/Contents/Home
207207
```
208208

209209
3. Save the file.
@@ -259,7 +259,7 @@ Follow the instructions below to install the WSO2 Identity Server on Windows.
259259
260260
#### Set up JAVA_HOME
261261
262-
You must set your `JAVA_HOME` environment variable to point to the directory where the Java Development Kit (JDK) is installed on the computer. Typically, the JDK is installed in a directory under `C:/Program Files/Java`, such as `C:/Program Files/Java/jdk-11.0.14` . If you have multiple versions installed, choose the latest one, which you can find by sorting by date.
262+
You must set your `JAVA_HOME` environment variable to point to the directory where the Java Development Kit (JDK) is installed on the computer. Typically, the JDK is installed in a directory under `C:/Program Files/Java`, such as `C:/Program Files/Java/temurin-21.jdk` . If you have multiple versions installed, choose the latest one, which you can find by sorting by date.
263263
264264
!!! note
265265
Environment variables are global system variables accessible by all the
@@ -314,7 +314,7 @@ You can temporarily set the `JAVA_HOME` environment variable within a Windows co
314314
---
315315
**Example**
316316
```java
317-
set JAVA_HOME=c:/Program Files/java/jdk-11.0.14
317+
set JAVA_HOME=c:/Program Files/java/temurin-21.jdk
318318
```
319319

320320
The `JAVA_HOME` variable is now set for the current CMD session only.
@@ -383,7 +383,7 @@ Extract the WSO2 product that you want to run as a Linux service and set the env
383383
# Default-Stop:
384384
# Short-Description: starts the wso2 identity server
385385
### END INIT INFO
386-
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
386+
export JAVA_HOME="/usr/java/temurin-21.jdk"
387387
export CARBON_HOME="/home/ubuntu/wso2is-{{is_version}}"
388388
389389
startcmd="${CARBON_HOME}""/bin/wso2server.sh start > /dev/null &"

en/identity-server/next/docs/deploy/product-compatibility.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ The {{product_name}} {{is_version}} runtime has been tested with the following J
4040
<th>Versions</th>
4141
<tr>
4242
<td>Temurin OpenJDK</td>
43-
<td>21, 17, 11</td>
44-
</tr>
45-
<tr>
46-
<td>Oracle JDK</td>
47-
<td>21</td>
43+
<td>21, 25</td>
4844
</tr>
4945
</table>
5046

@@ -132,4 +128,4 @@ The {{product_name}} {{is_version}} runtime has been tested with the following L
132128
<td>Microsoft Active Directory Windows</td>
133129
<td>2022</td>
134130
</tr>
135-
</table>
131+
</table>

en/identity-server/next/docs/get-started/quick-set-up.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Follow the steps given below to quickly set up and install {{ product_name }} on
99

1010
Follow the steps given below.
1111

12-
1. Download and install Oracle Java SE Development Kit (JDK) version 11 or 17.
12+
1. Download and install Java SE Development Kit (JDK) version 21 or 25.
1313
2. Go to [{{ product_name }} official website](https://wso2.com/identity-server/){:target="_blank"} and click on **Download**.
1414
3. Install {{ product_name }} by downloading the **LATEST RELEASE**.
1515

en/identity-server/next/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ mkdocs-exclude==1.0.2
1111
markdown-include==0.8.1
1212
jinja2==3.1.6
1313
mkdocs-glightbox==0.3.4
14-
mkdocs-include-markdown-plugin==6.0.0
14+
mkdocs-include-markdown-plugin==6.0.0

0 commit comments

Comments
 (0)