---
title: "Command not found message displayed."  
description: "Command not found message displayed."  
author: "Anonymous User"  
published: 2011-07-28  
updated: 2011-07-30  
canonical: https://www.mindstick.com/forum/280/command-not-found-message-displayed  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# Command not found message displayed.

Hi..\
I have installed [java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming) on my machine which is jdk1.6. After installing java I made a [program](https://www.mindstick.com/blog/12337/scaling-up-your-mentorship-program) and saved it with [name](https://yourviews.mindstick.com/view/87450/how-to-generate-a-brand-name-using-linkedin-comprehensive-guide) Employee.java. Then by using [command](https://www.mindstick.com/blog/178/synchronous-and-asynchronous-command-execution-in-c-sharp-dot-net) [window](https://www.mindstick.com/forum/161285/how-does-the-window-console-object-work-in-javascript) I am try to [compile](https://www.mindstick.com/forum/2316/how-to-views-compile-in-mvc) it but it display a [message](https://www.mindstick.com/forum/12802/show-confirmation-message-yes-or-no-in-asp-dot-net) "javac: command not found.". Can any one tell me why this message display while I have installed jdk. How can I [remove](https://yourviews.mindstick.com/story/4554/8-harmful-weeds-to-remove-from-garden) this message.\
I had written following command.\
javac Employee.java\
\
Thanks.

## Replies

### Reply by Anonymous User

Hi...

I had got solution of this problem. This message "javac:command not found" displays on command windows becose I didn't set path of c:\ProgramFiles\DK1.6\Bin to environment path variable.

Thanks.


---

Original Source: https://www.mindstick.com/forum/280/command-not-found-message-displayed

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
