Java command works but javac command doesn't
问题 I just install jdk and jre version 8 In windows. Environment variable already set. I try run "java -version" in cmd and it shows the version of java installed. But when I try to compile java project with "javac projectName" system says javac is not recognized as internal or external command. So can anyone tell me how to fix it? here is my environment variable: C:\Users\Foody>echo %PATH% C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\Ph ysX\Common;C:\WINDOWS