Keeping your development environment up to date: Java JRE auto updates
(Important: if you are still developing on Java 6, be very careful next time you use the Java Auto Update feature. The Java updater can only upgrade to Java 7 and you need to understand what is involved first.)
Java on Windows 7 has a component that automatically checks for updates from time to time.
The most important part of any Java update are enhancements to security. You usually upgrade by installing a new update number. This post documents upgrading from version ‘Java 7 update 17′ to ‘Java 7 update 21′.
Set up Java auto update frequency
You may change the auto update frequency depending on how security conscious you are.
- Go to Control Panel and then click on ‘Programs’ followed by ‘Java’, this is known as the Java Control Panel
Choose the ‘Update’ tab in the Java Control Panel.
- You can then click on the ‘Advanced’ button to confirm how often you would like to be prompted to update.
Whenever the update period elapses, you will notice the ‘Java Update Available’ message and icon in your Windows taskbar
If you click on the icon, you are presented with a dialog like the following:
- Before clicking on install, make sure to close any applications that rely on Java, for example Eclipse and the Android SDK manager
- Click on Install, followed by Install> on the next dialog box
- After installation, go to your Control Panel -> Uninstall program applet to confirm the update.
Notice that the Java update only upgraded the JRE as it is the one that needs security updates the most.
Upgrading the Java SDK will be discussed at a later post.