javac not recognized as an internal or external command
Hi,
This is my first time working on app development so please excuse my ignorance.
I downloaded all of the required files and documentation. Went the "Getting Started.pdf" and followed the instructions for installation to the letter.
My problem begins right at the beginning - installing the jdk6u21 for Windows.
After installing the package in C:\Java\jdk1.6.0_21\ and adding new variable %JAVA_HOME% with value C:\Java\jdk1.6.0_21 in the system variables I hit the wall. Oh, and adding %JAVA_HOME%\bin; to the path.
When testing to see if it is installed correctly at c promt for "javac -version" I get the following error:
'javac' not recognized as internal or external command, operable program or batch file.
So it's clearly not seeing my installation. I know these files are there, the system is simply not seeing them. I've gone over the paths seemingly a hundred times, copy and pasted them directly from the getting started guide but to no avail.
I must mention that when I enter at c promt "java -version" the report reads, "java version "1.6.0_21" ". Weird.
<img src="http://juliusmullerdesign.com/images/cpromtimage.JPG">
Also, I am working in Windows Vista and however hard it is for me to understand why this would make a difference, it wouldn't surprise me.
Any help at this point would be greatly appreciated. Thank you.
1 Answer
-
Found it. The path was wrong.