How to get rid of this update java pop up? - 1

I downloaded java so I could play minecraft but soon I found out minecraft is really laggy on my computer so then I uninstalled it but then a couple mounts later there's been this popup that says update java now! And I get this all the time but there's no x thing on it so I can't get rid of it and i've tried everything I could do please help from kj 12 year old

Java is important and many software programs installed on the computer need it and use it not just minecraft