Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

could not find java.dll how do I fix this?  RSS feed

 
Philip d'Rose
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some java pgms work, but others do not. I'm getting this msg when I try to do my homework:

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.3', but '1.4' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.

Here is what I get when I type path:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JAVA\J2SDK1.4.2\BIN

Can anyone offer any hints.
I'll be so grateful,
Philip
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.3', but '1.4' is required.

This is a common problem in Windows, -- happens when multiple versions of JDK have been installed/removed/reinstalled. Just start the registry and fix the "Software\JavaSoft\Java Runtime Environment\CurrentVersion" key manualy.
 
Murali Sridhar
Ranch Hand
Posts: 44
Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, its worked for me.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!