1 Attachment(s)
'javac' is not recognized as an internal or external command...HELP!
Hey guys,
I'm trying to compile a program created in textpad through the cmd window. I saved the program, which I know is correct, to a folder called Java in my documents. I added C:\Program Files\Java\jdk1.6.0_24\bin; to the beginning of the PATH system variable, and the entire path says this:
C:\Program Files\Java\jdk1.6.0_24\bin;%SystemRoot%\system32;% SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntime;C:\Program Files (x86)\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;%SYSTEMROOT%\System32\WindowsPow erShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Trend Micro\AMSP
I don't know what I need to type in the cmd window to actually use this path, so I just cd to the exact location of where the program is saved. However! whenever I type javac MySecondProgram.java to actually compile the program, is says:
'javac' is not recognized as an internal or external command, operable program or batch file
What should I do? This is my personal laptop that runs Windows 7 btw. I attached a picture of my cmd window.
Thanks for any help!