• 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

java execution problem

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I compile the java program, it is compiled properly.
But When I run the program using java, I get following error message

Error opening registry key"Software\JavaSoft\Java RunTime Environment"
Error: could not find java.dll
Error: could not find java 2 Run time Environment

My system is running on Windows 2000 professional and java2 version is 1.4.

Please give me solution for my problem.

My thanks in adavance.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The most obvious answer I could imagine is you should reinstall your java environment. You probably deleted some files not knowing it. The absence of *.dll file isn't rather a problem of java RE itself.
BTW, this forum is about Java Programmer Certification. If reinstall doesn't help, try to post your question in more suitable one.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic