Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running java programs on the commamd line

 
Prem Fernendo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run a java program I get the following error message;
'javac' is not recognized as an internal or external command, operable program or batch file.
Could you help me to handle this.
Thanks
Prem
 
Vladimir Ergovic
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to put JDK directory to path.
You should set it inside system setings.
But you can fix it like this.
set PATH=c:\jdk1.3\bin\;
before starting compiler
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic