Laptop is making me download Java before I download Minecraft?

Is it safe to download this Java? I went to the actual minecraft website, hit something like " download here if uv already bought" (which I have) and it downloads it in seconds. And then it says "This Application Requires a Java Runtime Environment 1.6.0" I then hit "ok" and it opens Internet explorer and takes me to download this at Java.com. Is it safe? Has anyone else had this happen? I Just got this laptop and don't wanna doownlaod any viruses! It comes with the normal laptop protection. And I think it has the McFee. Should I download this Java?

Java is the Runs almost everything, if your computer says to download it right from the sight, then it probably means you have a outdated version.

you should check to see what version you have, or if you have it at all.