Skip to Main Content

New to Java

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' is not recognized by command prompt

807599Nov 25 2006 — edited Nov 25 2006
hello,

i'm a student newly introduced to the world of java and i'm trying to compile and run java files using the command prompt in windows xp. i have already installed jdk1.5.0_09 and use the following command to compile my java files...

javac -d . filename.java

this method taught to us works fine on my institute's lab pcs. however at home i get the following message...

'javac' is not recognized as an internal or external command, operable program or batch file.


can someone please tell me as to where i'm going wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2006
Added on Nov 25 2006
9 comments
281 views