Archive

Archive for April, 2013

Keeping your development environment up to date: Java JRE auto updates

April 21st, 2013 No comments

(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

location.of.java.options.within.control.panel.windows.7

Choose the ‘Update’ tab in the Java Control Panel.

java.settings.windows.7.update.tab

  • You can then click on the ‘Advanced’ button to confirm how often you would like to be prompted to update.

java.autoupdate.frequency.blogopogo

 

Updating Java

Whenever the update period elapses, you will notice the ‘Java Update Available’ message and icon in your Windows taskbar

java.update.available

If you click on the icon, you are presented with a dialog like the following:

update.java.security

  • 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

install.and.accept.license.java.updates

  • After installation, go to your Control Panel -> Uninstall program applet to confirm the update.

java.updates.only.jre.not.jdk

 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.