Set Java Version only for signal-cli #1227
Answered
by
bublath
xtourtemyx
asked this question in
Q&A
-
Hello, does someone know any methods how i can set java 17 only for signal? Right now i have a unifi controller, which require java 11 and signal-cli, which require java 17 |
Beta Was this translation helpful? Give feedback.
Answered by
bublath
Apr 16, 2023
Replies: 1 comment
-
Change your JAVA_HOME environment variable to the base directory of your Java 17 installation (export JAVA_HOME=/.... ) before starting signal-cli |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xtourtemyx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change your JAVA_HOME environment variable to the base directory of your Java 17 installation (export JAVA_HOME=/.... ) before starting signal-cli
When starting as a daemon you need to add
Environment="JAVA_HOME=/..."
in your service file.