This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes beginer having command prompt problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "beginer having command prompt problem" Watch "beginer having command prompt problem" New topic

beginer having command prompt problem

Scott Pocan

Joined: Sep 25, 2003
Posts: 1
ok i am new at this and in class we use the command promt on windows to run java. Now i am at my own computer and i go through the steps that we do in class. That is going to the directory doing the set classpath=. then i do the javac and the message is "'javac' is not recognized as an internalor external command, operable program, or batch file." if anyone knows what i can do to run off of the command prompt it would be very helpfull. thanks
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

Hi Scott,
Welcome to JavaRanch!
First, you'll need to have the Java Developer's Kit installed -- you can get it from If, after downloading and installing the J2SDK, you still have this error, then you need to use the "System" control panel to add the "bin" subdirectory of the J2SDK installation directory to your PATH environment variable.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: beginer having command prompt problem
It's not a secret anymore!