Question: how do i fix javac is not recognized as an internal command?
Answer: Check your javac path on Windows using Windows Explorer C:\Program Files\Java\jdk1. 7.0_02\bin and copy the address. Go to Control Panel. Environment Variables and Insert the address at the beginning of var. ...  Close your command prompt and reopen it,and write the code for compile and execution.