File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Registry key error" Watch "Registry key error" New topic

Registry key error

cindy ray

Joined: Jul 09, 2005
Posts: 1

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
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.
I agree. Here's the link:
subject: Registry key error
Similar Threads
Java 3D problems
j2sdkee1.2.1 and The Sun' Tutorial Exercise 1
Java won't run
Not able to run java.exe from command prompt!
Java runtime error cannot find java.dll