I had J2SDK for Java2 installed in my machine. To compile some old files, I had to install jdk1.1.8. After installing this version, I am getting the following error. I didn't change the classpath. Now my eclipse is also not opening.
C:\>
java -version
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.1', but '1.5' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.