This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Registry key error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Registry key error" Watch "Registry key error" New topic
Author

Registry key error

cindy ray
Greenhorn

Joined: Jul 09, 2005
Posts: 1
Hello,

I am getting error when i try to run a zip file downloaded(mock questions) from the net
when i type java classname from CMD Prompt

It says Registry key "software/javasoft/java runtime environment/current version"
has 1.2 1.3 required

Could not found Java.dll
Could not found java 2 runtime environment

I have 1.4 in my system
then what's the issue?


Plz help me with this
Cindyray
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
Sometimes it happens - the key is not updated properly during install/remove/reinstall. Just remove all java runtimes from your machine (including the manual removal of the keys from the registry, if neccessary), and install Java fresh.

Or, if you feel adventurous, edit the key directly in the registry.
 
jQuery in Action, 2nd edition
 
subject: Registry key error
 
Similar Threads
Not able to run java.exe from command prompt!
j2sdkee1.2.1 and The Sun' Tutorial Exercise 1
Java 3D problems
Java runtime error cannot find java.dll
Java won't run