Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error opening registry key 'Software\JavaSoft\Java Runtime Environment

User_4NU9SMar 21 2013 — edited Mar 22 2013
Hi All ..
I've a siyuation where in whenever I am running java to run my class say test.class I am getting this error:

D:\Mywork>java test2
Error opening registry key 'Software\JavaSoft\Java Runtime Environment
Error: could not find java.dll
Error: could not find Java SE Runtime Environment.

Any help?

Also can we have 2 different jre running on same compute (like one in C and one in D drive)

OS-Windows7 64bit
JDK1.6_33

thanks
abhishek
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2013
Added on Mar 21 2013
2 comments
23,374 views