Can't install Java because of white window?

Da
- in Twitch
6

I try to install Java, but as soon as I run the exe file, only a white window opens. I've already searched for it on the Internet, but I couldn't find the right answer.

Because I can't install optifine and forge for minecraft. For example, if I try to install forge anyway, a window opens for half a second and closes again.

I also tried to install mods via the Twitch app.

But only mods from version 1.7 work, with the newest version eg 1.15.2 I try to start Minecraft with the forge version but it stops immediately and a message comes up, so I have no chance to start the forge version. Is that because of Java?

I would appreciate help and suggestions.

Ki

Can you play Minecraft without Forge? If so, how does it work without Java?

Da

Yes I can also play normally, that's why it's strange

Da

And if I want to open fabric it says that I need Java Runtime Environment 1.8.0.

Ki

It is best to uninstall Java and then reinstall it.

Da

Well can't install java? Because of the white window

Ki

It is best to start the PC in safe mode. To do this, press the "Windows + R" keys, enter "msconfig", go to Start and put the checkmark in "Safe start". Then you restart the PC and then you are in safe mode and try to install Java again.

It is very important that you start "msconfig" again after the process and then remove the checkmark "Secure start".