About this question
When I do the javac command it says javac is an unknown command. i set up everything though. or at least i think i did. i am new to java so i dont know much about it. What to do when javac not recognized windows 10?
When I do the javac command it says javac is an unknown command. i set up everything though. or at least i think i did. i am new to java so i dont know much about it. What to do when javac not recognized windows 10?
Log in to share your answer and help other learners.
Log in to answerBest Answer · By JanBask Python Expert
Answered on Jul 24, 2021
“Javac is not recognized as an internal or external command” is an error often encountered by people trying to compile Java programs on Windows using Command Prompt. It’s might also be encountered when users try to check the current version of the primary Java compiler. When javac not recognized windows 10: Check your javac path on Windows using Windows Explorer C:Program FilesJavajdk1.7.0_02in and copy the address. Go to Control Panel. Environment Variables and Insert the address at the beginning of var. Path followed by semicolon. i.e C:Program FilesJavajdk1.7.0_02in; . Do not delete the path existent, just click in and go to the left end and paste the line above. Do not try anything else, because you just need to link your code to "javac.exe" and you just need to locate it. Close your command prompt and reopen it,and write the code for compile and execution.
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Common Python interview questions, answered