+ 1
error while writing (access is denied)
In cmd prompt when I enter javac ExampleProgram.java I'm getting error while writing ExampleProgram: ExampleProgram.class (Access is denied) public class ExampleProgram there's a little up arrow pointing to the 'c' in class on the last line. What is going on here? Why isn't this working. I've gone over this dozens of times and can't find anything wrong. help me.
5 Answers
+ 1
yah I figured it out. I had to run it as administrator and that worked.
+ 1
To run as administrator here's what I did. Open start menu type cmd to find the command prompt, right click, run as administrator.
- 1
how do you write it as an administrator