please i need help regard running java on DOS. Whenever i try to compile it say "javac is not recognized as an internal or external command, operable programor batch file". i have set my path variables.
Did you reopen your command line after setting the PATH? You might need to reboot your computer if using DOS.
If that doesn’t help, please show us exactly what you have done, including your PATH.
Taiwo Sokunbi wrote:i have tried to set the class path again but its bringing another error.
javac: file not found: myjavafilename
Are you in the directory that contains the source file? If not, then go there with the cd (current directory) command. Are you sure you are typing the name of your Java source file correctly?