If you're getting this message you may have an older JRE or a JRE that has not been installed correctly. Which version of java are you running? you can check this by typing:
java -version
at the windows command prompt.
You should be running java 1.3 and above for the installer to function. If in doubt please go to http://java.sun.com/ and download the latest version.