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 running basic Welcome App - cannot find java.dll

881400Aug 9 2011 — edited Aug 9 2011
When running a basic welcome app, I get this error.

RegistryKey 'Software\Javasoft\Java Runtime Environment\CurrentVersion' has version '1.7', but'1.6' is required.
Error: could not find java.dll
Error: could not find java SE Runtime Environment

I had just changed my PATH variables so the javac could be found easily (it wasn't working before). After I changed the variables, I was able to get my app compiled, but when I went to run the java command, I get the above error. I have version 1.7.0 and my PATH variable has 1.7.0

Need more info? I wasn't able to find any more specific info on the forum, or anywhere else.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2011
Added on Aug 9 2011
2 comments
182 views