Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javac not a valid command

843810Mar 18 2006 — edited Mar 19 2006
I 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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2006
Added on Mar 18 2006
7 comments
1,232 views