2 Replies Latest reply: Mar 22, 2013 12:34 AM by gimbal2 RSS

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

    abroshan-Oracle
      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