Probably wrong Java version.
which version is suitable?
Java 11 or higher.
my java version "18.0.2.1" 2022-08-18
Are you using the official release? Or you're building from the source code?
YES I AM USING OFFICIAL RELEASE
Trying to build from scratch downloaded latest source code, I have invalid source release: 11 error I followed the instructions on https://www.traccar.org/build-in-intellij-idea/
all settings looks Ok, I am sure I missed important step java version jdk 1.8.0_202 , tried also 1.7 and 1.8.0.2.1
Java versions 7 or 8 are not compatible. You have to use at the very least 11.
Using :
IntelliJ IDEA 2023.1.2 (Community Edition)
Build #IC-231.9011.34, built on May 16, 2023
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 750M
Cores: 8
Kotlin: 231-1.8.21-IJ9011.34
installed jdk 11 , still same Cause: invalid source release: 11
Cause: invalid source release: 11
Error Occured when i run backend