Build traccar-server error

hello, I have managed to make the desired changes and it works without problem, now I try to compile the project to upload it to my VPS but I get the following compilation message "Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 ( 1.8) '. " I am using Intellij idea. I have changed everything to be compatible but I get the same error, any idea what I should be doing wrong or what should I change?

Anton Tananaev4 years ago

You are using wrong Java version.

Himanshu4 years ago

Hi Anton
I am facing same issue in building the traccar with JDK8. I am successfully build the traccar using JDK11 but traccar is not working when I replace the jar file.
Can you tell me the java version which traccar support in its latest version and why I am unable to start the traccar using JDK11???

Anton Tananaev4 years ago

Are you trying to compile master and use it on top of Traccar 4.12? That won't work.