How to initialize java app from Linux Boot

Hi, I’m using the Linux Console Image (2.8b6 | 2019-04-10) on SD card with Colibri iMX6ULL 256MB and I’m trying to initialize my java app from boot to avoid user interface with my device. I’ve already try to put scripts link on /etc/rcX.d/ and to create an rc.local without success.
Have you guys already done that on this Linux image?

Thanks in advance!

Luccas

hi @lcasagrande

I’m trying to initialize my java app from boot to avoid user interface with my device.

Usually there is no Java enabled in the regular Linux Console Image, so you would need to add it yourself as explained here.

Regarding your issue for starting an application at startup, please have a look here.

Best regards,
Jaski

Ok! I’ve already have installed the JDK. I didn’t notice that autorun tutorial, sorry.
Do you know how to auto login root user on boot?

Thanks! This topic question is answered.

You are welcome.
To know how to auto login to Linux, please have a look here.