title: Error while compiling java program access denied error
body: <p>I am trying to compile simple java program. 'Hello World' Program.
  When i tried to compile the written code using javac command it shows error which is mentioned below.</p>
  
  <p>Error while writing MyFirstJavaProgram: MyFirstJavaProgram.class (Access is denied)</p>
  
  <p>I have attached screenshot of error message. please help me to get out of it.</p>
  
  <p>error screenshot
  <a href="https://i.stack.imgur.com/Kcbo1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kcbo1.jpg" alt="enter image description here"></a></p>