I know there is a way to inject trusted certificates into the java runtime like this, but when a user starts an application using this certificate, he still gets a window much like this

When accepting, the certificate is visible in the java control panel.
How can I get the certificate in there without the user needing to accept that warning? I want him to run the application without any obstacles when doing so, meaning the certificate is already trusted AND the application can be run immediately.
Thanks to all the guys in the comments, it is now apparent to me, that this is not possible through automation or configuration. The user has to accept the warning, as it’s a vital security feature of the operating system and Java.