Matomo for desktop application


My application is a desktop application built up in java. It is a normal java project(not maven/gradle). Can you please help me in implementing matomo for it.


You can either use

or send HTTP requests to the tracking API yourself:

Could you please let me know which methodology is easier and moreover my applications is a normal java project(Not Gradle or Maven)?