java
-> this is what you installed from your package manager, so obviously it will be compatible/opt/traccar/jre/bin/java
-> this comes with Traccar and because the system doesn't recognize it, I conclude that it's not compatible
Manually or as a service, the Java version that's bundled with Traccar is clearly not working for you.
The solution is to change service to use your system Java instead of the one that comes with Traccar. Change /etc/systemd/system/traccar.service
to point to java
instead of /opt/traccar/jre/bin/java
.
Thanks, it's working now.
Im using it on Raspberry with ARM x64 Raspbian wchich is based on debian. How it can be incopatible while i can run it manually? Using the "traccar-linux-arm-5.6.zip" package