Java not updating registry
The method explained here is a better, more up-to-date solution to completely disabling Java updates from running, and includes the required registry change to stop the updater from running, preventing the UAC prompt from ever appearing.Disabling Java update from control panel is not as straight forward as it seems to be.Disable updates and push them out as you need is the best option for administering your PCs. This one states that 64bit Java doesn't have the autoupdater included in the installer.Here are the registry keys we use to disable updates: 64-bit [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Java Soft\Java Update\Policy]"Enable Java Update"=dword:00000000 32-bit [HKEY_LOCAL_MACHINE\SOFTWARE\Java Soft\Java Update\Policy]"Enable Java Update"=dword:00000000 There are loads of posts on ITNinja, and details in the Package KB noting how to disable updates. This one is how to disable the update prompts in 1.7 with an entry in the deployment.properties file.5) go to C:\Program Files (86)\Common Files\Oracle\Java\javapath and replace and with the corresponding files with the same names from the pathtojavajdk/bin folder Finally, I checked the default version of java in cmd with "java -version" and it worked!
I navigated to HKLM\Software\Javasoft\Java Update\Policy and I changed "Enable Java Update" from 1 to 0.Note that the registry changes above alone are not enough to prevent the Java updater from running.To prevent it from starting, and subsequently preventing the famous UAC prompt from appearing, follow the next step.Java update can only be disabled with administrative rights, so you need to run the Java control panel elevated.Since you can't do this through the control panel, you need to run the applet through its executable.
My guess is that this is a problem specific to 1.7, and Windows 7 is doing something it shouldn't with the registry. So, you either need to modify the registry, or put the version of Java you want I had the same issue.