Both sides previous revision Previous revision | |
tutorial:adm:server_preparation_win [2021/12/14 09:25] – [Change Tomcat logging properties] urbanl | tutorial:adm:server_preparation_win [2024/01/10 10:38] (current) – [Java] koulaj |
---|
<note>If you install the database onto a server distinct from the one on which the CzechIdM application itself (Tomcat etc.) is deployed, don't forget to configure PostgreSQL to allow remote SSL connection from that server.</note> | <note>If you install the database onto a server distinct from the one on which the CzechIdM application itself (Tomcat etc.) is deployed, don't forget to configure PostgreSQL to allow remote SSL connection from that server.</note> |
===== Java ===== | ===== Java ===== |
Install the openjdk (preferred version is 11.0.2). You can download it from [[https://jdk.java.net/archive/|here]]. Be sure to download the **JDK**, and not only **JRE**. | |
| |
| Install the openjdk (preferred version is 11.0.2, for CzechIdm 13.1.0+ Java 21 is needed). You can download it from [[https://jdk.java.net/archive/|here]]. Be sure to download the **JDK**, and not only **JRE**. |
=== OpenJDK Installation === | === OpenJDK Installation === |
| |
Crete directory ''C:\Program Files\Java\'' and extract there downloaded zip. | Crete directory ''C:\Program Files\Java\'' and extract there downloaded zip. Then set path and JAVA HOME: |
Then set path and JAVA HOME: | |
* Open the **sysdm.cpl** (Win+r ant type sysdm.cpl) dialogue and navigate to ''> Advanced > Environment Variables'' | * Open the **sysdm.cpl** (Win+r ant type sysdm.cpl) dialogue and navigate to ''> Advanced > Environment Variables'' |
* Add this line to PATH variable. <code>%JAVA_HOME%\bin</code> | * Add this line to PATH variable. |
* Add new variable ''JAVA_HOME'' with value ''C:\Program Files\Java\jdk-11.0.2'' | <code> |
* Then run ''java -version'' from the windows cmd to check if it is working properly. | |
| %JAVA_HOME%\bin |
| |
| </code> |
| |
| * Add new variable ''JAVA_HOME'' with value ''C:\Program Files\Java\jdk-11.0.2'' |
| * Then run ''java -version'' from the windows cmd to check if it is working properly. |
| |
| |