• Register
0 votes
24 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 35 views
35 views
Though I'm not sure if having the JDK reside in 'program files' instead of 'program files x86' affects this. I'm on 64-bit Windows with 64-bit java. Thanks
asked Feb 13 TeamScript 13.5k points
0 votes
1 answer 21 views
21 views
How can I solve this?
asked Dec 27, 2020 TeamScript 13.5k points
0 votes
1 answer 49 views
49 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 13k points
0 votes
1 answer 33 views
33 views
When the above error appear in the command prompt and reasons behind it?
asked Oct 6, 2020 jagruthi 680 points
0 votes
1 answer 7 views
7 views
Problem: I have encountered following keytool error: 'openssl' is not recognized as an internal or external command, operable program or batch file. any help!!
asked Mar 14 Wafa Abu Yousef 6.1k points
0 votes
1 answer 27 views
27 views
Problem: could anybody help me in this : 'Jar' is not recognized as an internal or external command, operable program or batch file..
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 22 views
0 votes
2 answers 3.9K views
3.9K 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 652 views
652 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