Windows - start tarccar manually fail

Lordrak5 years ago

Hello,
i am apologize for wasting your time but i am unable to start traccar from cmd.
Trobles start by telegram api does not work, co i have tried newer java version. See https://www.traccar.org/forums/topic/telegram-error/
I tried install latest JRE and JDK, both not working. I have take command from working service (auto installed) C:\Program Files\Traccar\jre\bin\java.exe -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml" and tried start this in cmd "c:\Program Files\Java\jdk-14\bin\java.exe" -Duser.dir="C:\Program Files\Traccar" -jar "C:\Program Files\Traccar\tracker-server.jar" --service ".\conf\traccar.xml"

Unfortunatelly java process stop after few seconds without any log, any verbose log, nothing.
How to start it from cmd?
Thanks

Anton Tananaev5 years ago

Remove --service and run the same command from cmd.

Lordrak5 years ago

Ha, thank you in advance. It looks like param input, not a switch.