Java not updating
If the Java Control Panel is missing, the problem is often related to a conflict with Java FX or legacy Java code.In these situations, you should use the Windows Control Panel to remove any instances of Java.Some people have reported that the User Account Control feature gets in the way of installing Java.If you suspect that the User Account Control feature is causing your problem, you can temporarily disable it until after the installation is complete.I have seen a couple of situations in which an installation error was displayed even though Java installed correctly.Therefore, I recommend beginning the troubleshooting process by verifying that Java really isn't working.Any related updates would usually be handled by the device manufacturer or the OS update mechanism itself.I have a Class called Color in which there are three static Objects (instantiating with the same class itself) and a int type (called i) variable.
If the installation appears to succeed, but Java is not working, check to see whether the Java Control Panel exists within the Windows Control Panel.
All this happens before any code defined in that class executes.
So what's happening here is: You can read the gory details of all this in Chapter 12 of the Java Language Specification (JLS) and Chapter 5 of the Java Virtual Machine Specification.
Unfortunately, it can sometimes be tough to get Java to install properly.
This article discusses 10 things you can do when Java fails to install.