javac not a valid command
843810Mar 18 2006 — edited Mar 19 2006I reformatted my computer several months ago, and just recently reinstalled the JDK for my programming classes.
I followed the directions I found on installation, and added C:\Program Files\Java\jdk1.5.0_06\bin to my PATH variable.
I use the TextPad program to write and compile my Java programs, and have been for almost three years now.
An interesting problem occured when I attempted to compile a program I had already succeded in compiling AND running on a university lab computer. I was using the same exact code, but it was coming back with tons of errors. It seemed to not be finding the other classes it was pulling from.
After the failed compiling with TextPad, I decided to go to the command line and attempt to compile the files that way. I got the following error:
'javac' is not recognized as an internal or external command, operable program or batch file.
Any help would be GREATLY appreciated!