Java wont install on Windows 10

connorfarkas

Reputable
Mar 17, 2016
91
0
4,640
Back when i built my pc i installed windows 7 and i installed java after i upgraded to windows 10 java was still there but now it is like corrupted or something when i try to install the latest 8up151 it just sits at the end of the installation. I used another pc on windows 10 and it installed fine and my laptop that upgraded from windows 8.1 works but my gaming rig does not. Is there any way to possibly fix the issue? I really don't want to reinstall windows right now so if that's the option then i guess half installed java will work.
dj70W
 
Solution


I've encountered times when the uninstall in Programs and Features looks like it worked properly but it really didn't. The icon for the app is gone but remnants of the uninstalled app will remain in the Windows registry database and may cause problems when reinstalling the app.
What Java application are you running that requires the JRE (Java Runtime Environment) to be installed?

If you're not running a Java application then there's no need to install the JRE. It will just introduce another attack vector for possible malware to exploit.
 


i think ATLauncher for minecraft modpacks needs 64 bit java if i am wrong then i guess i dont need it
 


ill see what i can do
 


i got rid of all java versions and it still is broken is the control panel supposed to have java under program and features if java isnt installed?
 


I've encountered times when the uninstall in Programs and Features looks like it worked properly but it really didn't. The icon for the app is gone but remnants of the uninstalled app will remain in the Windows registry database and may cause problems when reinstalling the app.
 
Solution
had the same problem, wouldnt install and a window kept popping up.

i download java JDK (not the JRE) full offline installation.

rebooted machine to kill any previous failed installation proccesses that may be running.

renamed it to JDK.EXE

move it to the C:\ so its location was C:\jdk.exe

opened up command prompt as ADMINISTRATOR

inside of command prompt i went to the C:\ directory and ran the following:

jdk.exe /s

this allows you to install in silent mode, i waited about 5 minutes and java was installed and working, you can verify it by going to your control panel and you should see the java control panel icon