• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help Required.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Re-install 1.5 then correct the earlier code such that it will compile on current compilers.
 
Parameswaran Ramanan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is a 3rd party code and I cannot modify the code to compile in 1.5.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Parameswaran Ramanan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Am all set now.. I changed the java shortcut for eclipse. But I didn't understand how by installing java1.1.8, I lost java2.
 
Marshal
Posts: 79153
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might not have lost Java 2 at all. If you put the location for jdk1.1.8 in your PATH it would obscure the path to JDK2.
reply
    Bookmark Topic Watch Topic
  • New Topic