A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 26, 2009
Feb 01, 2009 12:52:07
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>
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!
Joined: Oct 13, 2005
Feb 01, 2009 14:05:42
Well done sorting it out by yourself (
), and thank you for telling us the answer in case anybody else has the same problem.-
I agree. Here's the link:
subject: Using cmd.exe
Use cmd and not an IDE.
Is this the place to ask installation questions?
'javac' is not recognized as an internal or external command,
Running compiled code
Running Java Programs from the command prompt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014