• Register
0 votes
16 views

Problem:

I tried to run java in my system but it shows :
Java is not recognized as an internal or external command, 
Java is not internal or external command , Java command not working.

I will get this type of errors when I  do not configure java environment variables. I have no clue what this is, and I have been reading other topics but all I see is something about path I have no idea. All I know Is I would like some help. I now how to get to my system properties..and get to this path thing..but I don't no what to do next anyone hlep me about me i can i configure it after installing it.

Can anyone help?

10 7 2
6,050 points

1 Answer

0 votes

Answer:

It seems like the right directory isn’t added to your path. You may configure your environment variables,

JAVA_HOME and PATH

to see if it works for you. Make sure that:

JAVA_HOME contains the path to JAVA, 
add %JAVA_HOME%\bin to the PATH, 
and check the status of the issue.

 Note: If you’ve an older version of jdk installed, you may want to uninstall it and check.

11 6 4
34,930 points

Related questions

0 votes
1 answer 10 views
10 views
When the above error appear in the command prompt and reasons behind it?
asked Oct 6 jagruthi 560 points
0 votes
2 answers 724 views
724 views
Problem : I get the following error when I execute jar command in cmd. 'jar' is not recognized as an internal or external command, operable program or batch file. I tried very hard to solve this problem by myself by putting the path of the jar.exe file in my "path" variable ... I got the same error. Please let me know my mistake and how to fix it. I need to create jar files via the command line.
asked Nov 21, 2019 peterlaw 6.9k points
0 votes
2 answers 118 views
118 views
Problem : When ever I run mvn --version command from inside the bin it gives me the version but when I run it from the outside of bin it gives following exception : 'mvn' is not recognized as an internal or external command, operable program or batch file.
asked Nov 18, 2019 peterlaw 6.9k points
0 votes
1 answer 911 views
911 views
Problem : I have encountered following keytool error 'openssl' is not recognized as an internal or external command, operable program or batch file.
asked Nov 13, 2019 peterlaw 6.9k points
0 votes
1 answer 9 views
9 views
I installed WAMP on my computer. After the installation, I created my first php file. I wanted to test it by using the command prompt. php test.php But I got this error instead. 'php' is not recognized as an internal or external command, operable program ... don’t know what’s wrong because I followed the tutorial on how to install WAMP. Any help and guide will be greatly appreciated.
asked Oct 11 azriel 360 points