• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using cmd.exe

 
Brian Pianczk
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am trying to write a program on notepad, and use the cmd prompt to open. I have my PATH set and all that. When I look in the dir, using the cmd prompt my Hello.java is there.

My problem is: when I try javac Hello.java I get an error, the error is:

Hello.java:1: error while writing Hello: Hello.class <Access is denied>
class Hello
^
1 error


Using vista 64bit.

Any idea on how to fix this?


EDIT: Figured it out, silly Vista makes me give myself access to write to folders I create!
 
Campbell Ritchie
Sheriff
Pie
Posts: 50171
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done sorting it out by yourself ( ), and thank you for telling us the answer in case anybody else has the same problem.-
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic