It usually means that Java is not configured properly.
Java is configured properly, and it's already being used for production. That's not the case for sure. Can you please help me out what would be the problem more specifically?
I suspect that path to Java is not configured globally. So you can find it when you use console, but when service runs it can't find it.
Can you help what can be done for it?
I would recommend to start from scratch and install Java from standard repository. It always works.
Hi, I'm trying to build traccar from source.
root@144 /opt/traccar # sudo setup/setup.sh /usr/bin/java Error: Unable to access jarfile test.jar Java 7 or higher is required root@144 /opt/traccar # java -version openjdk version "1.8.0_131" OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.17.04.3-b11) OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
The version is 8 i.e., above 7, then why is it showing that?
Help would be much appreciated.
Thanks