+ 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

6th Dec 2016, 7:35 PM
Wayne Porter
Wayne Porter - avatar
10 odpowiedzi
24th Dec 2016, 5:14 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
OK thanks
6th Dec 2016, 7:57 PM
Wayne Porter
Wayne Porter - avatar
+ 2
Pay attention to steps that are following installation self - there is a need to update registry to set Java/JDK home path.
6th Dec 2016, 7:59 PM
Ondřej Doněk
Ondřej Doněk - avatar
+ 1
thank you, how do I go about fixing this
6th Dec 2016, 7:50 PM
Wayne Porter
Wayne Porter - avatar
+ 1
have you ever tried to confirm your environment is good to be used for programming by input javac in your command prompt
24th Dec 2016, 4:45 PM
oladele adeyinka
oladele adeyinka - avatar
+ 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
24th Dec 2016, 4:46 PM
oladele adeyinka
oladele adeyinka - avatar
+ 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
24th Dec 2016, 9:25 PM
Wayne Porter
Wayne Porter - avatar
+ 1
I think I. just reinstalled & filled the installation instructions word for word
24th Dec 2016, 9:27 PM
Wayne Porter
Wayne Porter - avatar
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.
6th Dec 2016, 7:39 PM
Ondřej Doněk
Ondřej Doněk - avatar
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.
6th Dec 2016, 7:54 PM
Ondřej Doněk
Ondřej Doněk - avatar