This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Running java programs on the commamd line  RSS feed

 
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
Boost this thread!