Runtime Environment problem
I have been using an IDE for my development, but there seems to be no capability to make jars from within the IDE. so I go to the command line and try to run the jar command on some class files. I recently installed Java 1.6 on my computer and also have 1.4 on the same machine. Well, obviously somewhere, somebody didn't like that and I got the error that a registry key was looking for 1.4 and finding 1.6....or something along that line. But I was able to use both JREs from within the IDE......so anyway, I uninstalled 1.4 and still had problems. I uninstalled 1.6 and then reinstalled it and I still have problems. Here is the current error messages I get:
Error opening registry key 'Software\JavaSoft\Java Runtime Environment1.4'
Error: could not find Java.dll
Error: could not find Java 2 Runtime Environment
So obviously some reference to 1.4 did not get uninstalled.....but I can't find that reference. When I look in the registry, there is no reference to 1.4 at all!!!! My classpath is pointing to 1.6. I don't know what else to try.
anybody? please help!!!!!
while signing the jar file i got the following error:
E:\DevSuiteHome_1\forms\java>jarsigner -keystore rupalkeystore gmap.jar me
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.6', but '1.4' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
How to solve this error?
Edited by: kaminanikamini on Aug 7, 2012 4:36 AM