-4

Why on writing java -version on cmd it shows 3 error although i have installed Java Jdk and jre installed in my system?

errors are as follow:

oppening register key 'software\JavaSoft\JRE'
could not find java.dll
Could not find Java SE Runtime Environment.

it shows error:
it shows error

Lino
  • 19,604
  • 6
  • 47
  • 65
Adhikansh Mittal
  • 601
  • 1
  • 5
  • 13

1 Answers1

0

Go to: Advanced system settings -> Environment variables in the system variables section add variable name : JAVA_HOME , and value the path of your jdk . then try again .also add jre path in the path variables .

mohammad tavakoli
  • 153
  • 1
  • 1
  • 11