Accessibility options

How to deal with multiple versions of Java

Author: Tim Nott
Date: Thu, 24 Sep 2009 09:00:00 GMT

Discover why so many versions of Java get installed

Reader Alex Wood had multiple versions of Java, and he asked if it was safe to remove some of these. So what is Java and why do you need so many versions?

Java is a platform that can run programs on a variety of hardware ­ not just personal computers, but phones, smartcards and other hardware and media such as printers, car navigation systems and Blu-ray discs. It can also run programs in a web page ­ such as games, chat rooms and so on ­ that can be accessed through any browser on Windows PCs, Macs, Linux and other hardware.

To run Java programs, you need the free Runtime Environment. It comes with a Control Panel item that, among other things, can check for updates at regular intervals. Each update is a full version rather than a patch, but updating does not remove previous versions.

So, sure enough, on checking my XP PC, in Add/Remove Programs, I had J2SE Runtime Environment 5.0 Update 5, and Java 6 updates 2, 3, 5, and 7, taking a total of 700MB of disk space. While not in Alex’s impressive storage league (1.6GB), this still struck me as excessive.

Then things got even messier. Checking the version on the Sun site revealed I was using Java 6 update 3, and the Java Control Panel on my PC stated I had version 6, update 6. Clearly things were a mess, so I downloaded and installed the current version ­ update 11. Both the website and the Control Panel now agreed I was using update 11, but I still had all the previous versions.

Searching on the Java website FAQ revealed that ‘you can safely remove older versions of Java from your system…’ and that ‘the latest available version is always compatible with the older versions’. However, in a blatant piece of bet-hedging, the next sentence reads ‘you can also keep older versions of Java installed, in case you have an applet/application that still depends upon a previous version’.

The Java Control Panel does provide the means to disable or remove runtime versions via the View buttons on the Java tab, but this doesn’t remove any files. So I made a System Restore point, and removed all but the latest update via Add/Remove programs.

More features

Find legal advice and services online
Make the most of legal advice freely available on the internet Thanks to the internet you can do several things online that used to require a trip to a lawyer’s office, such as applying for a ...
10 useful free Google tools
Best known for its search engine, Google has developed a range of interesting and useful free tools. Here’s our pick of them Google made its name as a search engine but, over the years, it has ...
Working with windows in Windows
Microsoft Windows is all about – perhaps unsurprisingly – windows. We explain how to master them It may be stating the obvious, but windows are a fundamental part of Microsoft Windows. Almost ...
How to spot and avoid online scammers
Fake emails and websites can look very realistic, and trick thousands – but we explain how to outsmart them According to the website Bank Safe Online, 20 million UK citizens now access their ...
How to install and configure a monitor
Setting up a new display can be fiddly – we explain how to do it Not only are flat-panel LCD monitors cheaper than ever, but they are also bigger, brighter, clearer and easier to use. Replacing ...

Advertisement starts


Advertisement

Advertisement ends

News

Intel’s new Core vPro starts PC fight-back in the enterprise
Intel brings Sandy Bridge to business systems with features to keep the ...

Reviews

Dell PowerEdge M-Series Blade Server review
An impressive blade server system that can match anything from HP and ...

Features

Working with windows in Windows
Microsoft Windows is all about – perhaps unsurprisingly – windows. We ...

Workshops

Faster Windows with fewer visual effects
Fine-tuning the way Windows uses visual effects can improve performance in XP, Vista and 7

Videos

Review: Intel Classmate PC
Review: Intel Classmate PC. A classroom computer that's shock-resistant -

Free newsletter

Enter your email address below and receive your Free technology newsletter.

 
 
 

Advertisement starts



Advertisement ends

Page Footer


Access keys


You will need to use different key combinations in order to use access keys depending on your internet browser, find out which on our accessibility page.
  • (0) Navigate to Accessibility page.
  • (1) Navigate to Home page.
  • (2) Navigate to My email.
  • (3) Navigate to My Account.
  • (4) Navigate to Site Map page.
  • (5) Navigate to Contact us page.
  • (6) Navigate to Members channel.
  • (7) Navigate to Services channel.
  • (8) Navigate to News & Info channel.
  • (9) Navigate to Entertainment channel.
  • ([) Skip down to the Primary navigation block.
  • (]) Skip down to the more links within this section block.
  • (=) Bypass all navigation and jump to the content.
  • (x) Text only version of this page.