Annotation processing got disabled, since it requires a 1.6 compliant JVM

sorry no idea about KODI
but for a autostart at boot see

//____________________
note: many startups fail if you are not in that directory,
so a bash first makes a cd to that path for the app,
and then starts it.

and a .desktop starts the bash script, not the app

and i like to use the user autostart path, but there are many ways…