Unable to install Java (can't install optifine)?

Bu
8

So I want to install Optifine for Minecraft and have the latest version of Java installed (Java SM Runtime Environment). But if I open the Optifine setup with it comes the constant message that the Java installation was not completed. And although always when I install Java there's that this is complete. I have also restarted the PC several times but it does not help. Can someone tell me how to find out if Java is really installed properly or if it is something else. Incidentally, I have Windows 10 64 bit.

fl

I have recently had problems with java and optifine, I have once completely uninstalled java and downloaded again and zack hats worked again

Ba

Take the jre

Bu

How to uninstall Java completely?

Bu

This means?

fl

Right click on the Windows icon, click on apps and features, scroll down and search for Java, click, uninstall

Co

Who thinks you should take java runtime environment jre because you wrote sm

Co

Like a normal program, I think

Av

Hi, try typing 'java -version' in the console.

Also look here https://ronasoft.de/installation-von-java-unter-windows-10/