• Register
0 votes
20 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,060 points

Please log in or register to answer this question.

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,950 points

Related questions

0 votes
1 answer 10 views
10 views
How can I solve this?
asked Dec 27, 2020 TeamScript 9.3k points
0 votes
1 answer 27 views
27 views
Problem: Hi: I am returning after a little break. I was examining and rehearsing Java these days routinely. I've enlisted myself in an online course to comprehend things in a superior manner. I believe it's helping me somewhat more. Anyway, today I've inquiry with respect to change in Java. I am understanding the java concept of internal and external command.
asked Nov 2, 2020 Mashhoodch 5.6k points
0 votes
1 answer 19 views
19 views
When the above error appear in the command prompt and reasons behind it?
asked Oct 6, 2020 jagruthi 680 points
0 votes
2 answers 2.3K views
2.3K 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 300 views
300 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 1.3K views
1.3K 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
2 answers 50 views
50 views
Hello colleagues, I really want to know How To Solve 'python' is not recognized as an internal or external command, operable program or batch file error. Thanks
asked Oct 23, 2020 psandprop 2.4k points
0 votes
1 answer 25 views
25 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, 2020 azriel 590 points
0 votes
1 answer 19 views
19 views
Problem: I am very new to cordova, phonegap, ant,sdk,jdk. I am learning to use phonegap/cordova. Everything is installed properly on my machine i.e cordova, phonegap, ant,sdk,jdk. But now suddenly it started saying that: "’Node' is not recognized as an ... insufficient knowledge I am unable to fix this issue. I am looking for cordova and phonegap experts who can help me in fixing this issue.
asked Sep 2, 2020 Raphael Pacheco 4.9k points
1 vote
2 answers 49 views
49 views
Problem: I have set up the django in my system & I have started my project. I am using the atom IDE. Here is my models.py file of django project from django.db import models from django.contrib.auth.models import AbstractBaseUser from django.contrib.auth. ... is not recognized as an internal or external command, operable program or batch file. Is there any problem with my code or environment?
asked May 15, 2020 samhaz 5k points