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.
Re-install 1.5 then correct the earlier code such that it will compile on current compilers.
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
Parameswaran Ramanan
Greenhorn
Joined: Mar 07, 2007
Posts: 3
posted
0
It is a 3rd party code and I cannot modify the code to compile in 1.5.
Java is backwards-compatible, both the compiler and the runtime environment. Anything that used to compile with 1.1.8 will still compile and run with the latest version. Or are you talking about using the Microsoft JVM?