Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:adm:server_preparation_tmp [2020/07/24 09:01]
fiserp [Start Tomcat automatically after system startup]
tutorial:adm:server_preparation_tmp [2020/07/24 09:07]
fiserp [Java - CentOS8]
Line 203: Line 203:
 dnf install -y java-11-openjdk-headless java-11-openjdk-devel dnf install -y java-11-openjdk-headless java-11-openjdk-devel
 </code> </code>
- 
-Then create the file ''/etc/profile.d/java.sh'' with following: 
-<file bash java.sh> 
-[ -d /usr/lib/jvm/java-openjdk ] && export JAVA_HOME=/usr/lib/jvm/java-openjdk 
-</file>