+ 2
Can someone explain these three errors below, I'm trying to compile my first Java program
error: opening registry key 'software/Javasoft/Java runtime environment' error: could not find Java.Dll error:could not find Java SE runtime environment
10 odpowiedzi
+ 3
http://stackoverflow.com/questions/8644992/error-registry-key-software-javasoft-java-runtime-environment-currentversion
http://stackoverflow.com/questions/6362037/java-error-opening-registry-key
Look at the first answer(s) for each, with the ~100 upvotes (some of the comments are helpful too)
+ 2
OK thanks
+ 2
Pay attention to steps that are following installation self - there is a need to update registry to set Java/JDK home path.
+ 1
thank you, how do I go about fixing this
+ 1
have you ever tried to confirm your environment is good to be used for programming by input javac in your command prompt
+ 1
you need to set up your JaVA path correctly and confirm it from your command prompt if indeed it's been set by input javac
+ 1
yes, I fixed my issue. I don't remember how, but I am now able to run code easily through my cmd window or netbeans
+ 1
I think I. just reinstalled & filled the installation instructions word for word
0
While I'm using Linux and you are obviously using Windows the errors are self-explaining - your installation of Java is not correct. Probably you did not set JAVA_HOME correctly.
0
As I wrote - I'm do not using Windows - but you should read Oracle's Java installation instructions carefully and literally do what it says.