![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
24 Nov
2020
24 Nov
'20
18:59
24.11.2020 16:24, Herbert Graeber пишет:
Nov 23 13:37:18 linux systemd[1836]: unifi.service: Failed at step EXEC spawning /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/bin/java: No such file or directory
You need package java-1_8_0-openjdk-headless
Looks my Requirement of "jre-headless = 1.8.0" is not sufficient. The Unifi controller needs Java8, nothing newer.
jre-headless = 1.8.0 is provided by two packages - java-1_8_0-openjdk-headless and java-1_8_0-openj9-headless. They install into different directories. As long as user is using just /usr/bin/java, likely no difference will be noticed. You probably should use /usr/lib64/jvm/jre-1.8.0/bin/java instead.